summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-08-27 16:12:46 +0200
committerJan Dittberner <jan@dittberner.info>2017-08-27 16:12:46 +0200
commitc62801fcb70daadcdd3e564e516a0e5c949454ce (patch)
tree08c53a1fc119fd8924a1fd514e2056d5fa6183f4
parent91e6d9ad29fb0b2c20b9db38d878bf88a5987daa (diff)
downloadcacert-boardvoting-c62801fcb70daadcdd3e564e516a0e5c949454ce.tar.gz
cacert-boardvoting-c62801fcb70daadcdd3e564e516a0e5c949454ce.tar.xz
cacert-boardvoting-c62801fcb70daadcdd3e564e516a0e5c949454ce.zip
Add direct call to dep
-rw-r--r--Jenkinsfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 37b602f..44d1d68 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -4,7 +4,6 @@ pipeline {
environment {
GOPATH = "${pwd()}/gocode"
- PATH = "${pwd()}/gocode/bin:${env.PATH}"
}
stages {
@@ -13,7 +12,7 @@ pipeline {
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 "go get -u github.com/golang/dep/cmd/dep"
- sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; dep ensure -v"
+ sh "cd '${GOPATH}/src/git.cacert.org/cacert-boardvoting' ; ${GOPATH}/bin/dep ensure -v"
}
}
stage('Build') {