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

Jenkinsfile: Simplify.

parent 7695c1df
......@@ -25,8 +25,7 @@ node {
docker.image('cdrx/fpm-debian:8').inside {
stage 'package'
unstash 'binary'
sh 'mv dist/linux-amd64/jwt-tokenissuer /src/'
sh 'fpm -s dir /src=/opt/jwt-tokenissuer -t deb -n jwt-tokenissuer -v \$VERSION_STRING'
sh 'fpm -s dir dist/linux-amd64=/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