summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-26 20:29:42 +0100
committerGitHub <noreply@github.com>2021-03-26 20:29:42 +0100
commit0d8e72a500c2d5bad1138533df40749c2ebd740b (patch)
treec841cfd434849667cd2d805e09a19b68790b5bad /Jenkinsfile
parenta72885392a81d6e7e4440797cb1d857b39b88892 (diff)
downloadlibvyosconfig-0d8e72a500c2d5bad1138533df40749c2ebd740b.tar.gz
libvyosconfig-0d8e72a500c2d5bad1138533df40749c2ebd740b.zip
Jenkins: setup OCaml build environment
Diffstat (limited to 'Jenkinsfile')
-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)