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
91d32e60
Commit
91d32e60
authored
Apr 10, 2017
by
Morten Knutsen
Browse files
Jenkinsfile: Deploy generated deb to UNINETT APT repo.
parent
ffee4de1
Changes
1
Show whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
91d32e60
...
...
@@ -26,6 +26,13 @@ node {
stage
'package'
unstash
'binary'
sh
'fpm -s dir -t deb -n jwt-tokenissuer -v \$VERSION_STRING dist/linux-amd64=/opt/jwt-tokenissuer'
stash
includes:
'*.deb'
,
name:
'package'
archive
includes:
'*.deb'
}
stage
'deploy'
unstash
'package'
withEnv
([
'OS=jessie'
,
'POOL=laas'
,
'ARCH=amd64'
])
{
sh
'scp *.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/\$OS/pool/\$POOL/binary-\$ARCH/'
sh
'ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo.debian'
}
}
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