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
807e506b
Commit
807e506b
authored
Apr 10, 2017
by
Morten Knutsen
Browse files
Jenkinsfile: Try yet another syntax..
parent
66de1aa2
Changes
1
Show whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
807e506b
...
...
@@ -9,8 +9,8 @@ node {
stage
'test'
sh
'env'
sh
'curl https://glide.sh/get | sh'
sh
"
mv $
{env.
GOPATH
}
/src/github.com/UNINETT $
{env.
GOPATH
}
/src/github.com/uninett
"
sh
"
cd $
{env.
GOPATH
}
/src/github.com/uninett/jwt-tokenissuer
"
sh
'
mv
\
$GOPATH/src/github.com/UNINETT
\
$GOPATH/src/github.com/uninett
'
sh
'
cd
\
$GOPATH/src/github.com/uninett/jwt-tokenissuer
'
sh
'glide install'
sh
'make test'
...
...
@@ -22,7 +22,7 @@ node {
stage
'package'
unstash
'binary'
sh
'mv jwt-tokenissuer /src/'
sh
"
fpm -s dir /src=/opt/jwt-tokenissuer -t deb -n jwt-tokenissuer -v $
{env.
VERSION_STRING
}"
sh
'
fpm -s dir /src=/opt/jwt-tokenissuer -t deb -n jwt-tokenissuer -v
\
$VERSION_STRING
'
archive
includes:
'*.deb'
}
}
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