Commit dad1261e authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Jenkinsfile: There is probably a better way..

parent 01a2f42d
......@@ -11,15 +11,14 @@ node {
sh 'env'
sh 'mkdir -p \$GOPATH/src/'
sh 'cp -r . \$GOPATH/src/'
sh 'cd \$GOPATH/src/'
sh 'curl | sh'
sh 'git config --global "jenkins"'
sh 'git config --global "jenkins@localhost"'
sh 'glide install'
sh 'make test'
sh 'cd \$GOPATH/src/ && glide install'
sh 'cd \$GOPATH/src/ && make test'
stage 'build'
sh 'make build'
sh 'cd \$GOPATH/src/ && make build && cp -r dist \$HOME/'
stash includes: 'dist/linux-amd64/jwt-tokenissuer', name: 'binary'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment