Use dep in Jenkinsfile

This commit is contained in:
Jan Dittberner 2017-08-27 15:56:23 +02:00
parent bf511ae4db
commit 58aed9abd1

3
Jenkinsfile vendored
View file

@ -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') {