summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-08-27 15:56:23 +0200
committerJan Dittberner <jan@dittberner.info>2017-08-27 15:56:23 +0200
commit58aed9abd1a5f3ae7b54b46a885e987adcf5c270 (patch)
tree354e2a92cce34cd22427ec303b3e9efea3414ae4 /Jenkinsfile
parentbf511ae4dba83a0043463d26236e8d2673abc810 (diff)
downloadcacert-boardvoting-58aed9abd1a5f3ae7b54b46a885e987adcf5c270.tar.gz
cacert-boardvoting-58aed9abd1a5f3ae7b54b46a885e987adcf5c270.tar.xz
cacert-boardvoting-58aed9abd1a5f3ae7b54b46a885e987adcf5c270.zip
Use dep in Jenkinsfile
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index e3bc736..697015a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,7 +11,8 @@ pipeline {
steps {
sh "rm -rf '${GOPATH}/src/git.cacert.org' ; mkdir -p '${GOPATH}/src/git.cacert.org'"
sh "ln -s '${pwd()}' '${GOPATH}/src/git.cacert.org/cacert-boardvoting'"
- sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; go get"
+ sh "go get -u github.com/golang/dep/cmd/dep"
+ sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; dep ensure -v"
}
}
stage('Build') {