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
dad1261e
Commit
dad1261e
authored
Apr 10, 2017
by
Morten Knutsen
Browse files
Jenkinsfile: There is probably a better way..
parent
01a2f42d
Changes
1
Show whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
dad1261e
...
...
@@ -11,15 +11,14 @@ node {
sh
'env'
sh
'mkdir -p \$GOPATH/src/github.com/uninett/jwt-tokenissuer'
sh
'cp -r . \$GOPATH/src/github.com/uninett/jwt-tokenissuer'
sh
'cd \$GOPATH/src/github.com/uninett/jwt-tokenissuer'
sh
'curl https://glide.sh/get | sh'
sh
'git config --global user.name "jenkins"'
sh
'git config --global user.email "jenkins@localhost"'
sh
'glide install'
sh
'make test'
sh
'
cd \$GOPATH/src/github.com/uninett/jwt-tokenissuer &&
glide install'
sh
'
cd \$GOPATH/src/github.com/uninett/jwt-tokenissuer &&
make test'
stage
'build'
sh
'
make build
'
sh
'
cd \$GOPATH/src/github.com/uninett/jwt-tokenissuer && make build && cp -r dist \$HOME/
'
stash
includes:
'dist/linux-amd64/jwt-tokenissuer'
,
name:
'binary'
}
}
...
...
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