summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 39f5938..28acd5f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -8,14 +8,16 @@ pipeline {
}
stages {
- stage('Remove old build directory') {
+ stage('Install go-bindata') {
steps {
- sh "rm -rf '${GOPATH}/src/git.cacert.org'"
+ sh "mkdir -p '${GOPATH}/bin'
+ sh "cd '${GOPATH}/bin'"
+ sh "go get -u -v github.com/shuLhan/go-bindata/cmd/go-bindata"
}
}
stage('Build') {
steps {
- sh "make clean && make BUILD='${env.BUILD_TAG}'"
+ sh "make distclean && make BUILD='${env.BUILD_TAG}'"
}
}
stage('Create build output') {