Commit 4d12aa97 authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Jenkinsfile: Move to single quoted strings for shell steps.

parent 21dc2d68
......@@ -6,23 +6,23 @@ node {
docker.image('golang:1.8').inside {
stage "test"
stage 'test'
sh 'env'
sh "curl | sh"
sh "mv ${GOPATH}/src/ ${GOPATH}/src/"
sh "cd ${GOPATH}/src/"
sh "glide install"
sh "make test"
sh 'curl | sh'
sh 'mv $GOPATH/src/ ${GOPATH}/src/'
sh 'cd $GOPATH/src/'
sh 'glide install'
sh 'make test'
stage "build"
sh "make build"
stage 'build'
sh 'make build'
stash includes: 'dist/linux-amd64/jwt-tokenissuer', name: 'binary'
docker.image('cdrx/fpm-debian:8').inside {
stage "package"
stage 'package'
unstash 'binary'
sh "mv jwt-tokenissuer /src/"
sh "fpm -s dir /src=/opt/jwt-tokenissuer -t deb -n jwt-tokenissuer -v ${VERSION_STRING}"
sh 'mv jwt-tokenissuer /src/'
sh 'fpm -s dir /src=/opt/jwt-tokenissuer -t deb -n jwt-tokenissuer -v ${VERSION_STRING}'
archive includes: '*.deb'
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