diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-26 20:29:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 20:29:42 +0100 |
commit | 0d8e72a500c2d5bad1138533df40749c2ebd740b (patch) | |
tree | c841cfd434849667cd2d805e09a19b68790b5bad | |
parent | a72885392a81d6e7e4440797cb1d857b39b88892 (diff) | |
download | libvyosconfig-0d8e72a500c2d5bad1138533df40749c2ebd740b.tar.gz libvyosconfig-0d8e72a500c2d5bad1138533df40749c2ebd740b.zip |
Jenkins: setup OCaml build environment
-rw-r--r-- | Jenkinsfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 21a6829..699c672 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,4 +20,5 @@ @Library('vyos-build@current')_ // Start package build using library function from https://github.com/vyos/vyos-build -buildPackage(null, null, null, true) +def buildCmd = "eval \$(opam env --root=/opt/opam --set-root) && dpkg-buildpackage -b -us -uc -tc" +buildPackage(null, null, buildCmd, true) |