Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
daas
jwt-tokenissuer
Commits
836396e6
Commit
836396e6
authored
Apr 10, 2017
by
Morten Knutsen
Browse files
Jenkinsfile: Yet another attempt at working around the pain.
parent
5da58307
Changes
1
Show whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
836396e6
node
{
checkout
scm
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
()
if
(
GIT_TAG
)
{
env
.
VERSION_STRING
=
GIT_TAG
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment