add Jenkinsfile
This commit is contained in:
parent
543c6ab86b
commit
2253e1527b
|
@ -0,0 +1,27 @@
|
|||
@Library('eo-jenkins-lib@master') import eo.Utils
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Packaging') {
|
||||
steps {
|
||||
script {
|
||||
if (env.JOB_NAME == 'dspawn' && env.GIT_BRANCH == 'origin/master') {
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch,buster dspawn'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
script {
|
||||
utils = new Utils()
|
||||
utils.mail_notify(currentBuild, env, 'admin+dspawn@entrouvert.com')
|
||||
}
|
||||
}
|
||||
success {
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
dspawn (0.13) unstable; urgency=medium
|
||||
|
||||
* renew machine-id when cloning machines
|
||||
* add Jenkinsfile
|
||||
|
||||
-- Christophe Siraut <csiraut@entrouvert.com> Mon, 09 Mar 2020 14:18:56 +0100
|
||||
|
||||
|
|
Loading…
Reference in New Issue