summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-26 20:26:37 +0100
committerGitHub <noreply@github.com>2021-03-26 20:26:37 +0100
commitbde5c58cc02a873df4b98cfc2524edc72d0b14c5 (patch)
tree0d3f4df8527a4aaa46de5ed76c9ac8805a8926e5
parent68d1b283f7669909474f6b8159f3abc426e0fd3d (diff)
downloadvyos-utils-bde5c58cc02a873df4b98cfc2524edc72d0b14c5.tar.gz
vyos-utils-bde5c58cc02a873df4b98cfc2524edc72d0b14c5.zip
Jenkins: setup OCaml build environment
-rw-r--r--Jenkinsfile3
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)