Commit 836396e6 authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Jenkinsfile: Yet another attempt at working around the pain.

parent 5da58307
node { node {
checkout scm checkout scm
env.VERSION_STRING = "0.01-devel-${env.BUILD_ID}" env.VERSION_STRING = "0.01-devel-${env.BUILD_ID}"
env.HOME = env.PWD
GIT_TAG = sh(returnStdout: true, script: "git tag --sort version:refname | tail -1").trim() GIT_TAG = sh(returnStdout: true, script: "git tag --sort version:refname | tail -1").trim()
if(GIT_TAG) { if(GIT_TAG) {
env.VERSION_STRING = GIT_TAG env.VERSION_STRING = GIT_TAG
......
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