feat(debian packaging): update pipeline
This commit is contained in:
parent
1d35892e87
commit
7afabcedde
@ -3,7 +3,7 @@
|
||||
pipeline {
|
||||
|
||||
agent {
|
||||
label 'common'
|
||||
label 'docker'
|
||||
}
|
||||
|
||||
environment {
|
||||
@ -20,6 +20,7 @@ pipeline {
|
||||
stage("Prepare build environment") {
|
||||
when {
|
||||
anyOf {
|
||||
triggeredBy cause: "UserIdCause", detail: "wpetit"
|
||||
triggeredBy 'TimerTrigger'
|
||||
}
|
||||
}
|
||||
@ -42,7 +43,7 @@ pipeline {
|
||||
checkout scm:
|
||||
[
|
||||
$class: 'GitSCM',
|
||||
userRemoteConfigs: [[url: env.repository_url, credentialsId: 'jenkins-forge-ssh']],
|
||||
userRemoteConfigs: [[url: env.repository_url, credentialsId: 'jenkins-ssh-mse']],
|
||||
branches: [[name: env.ref]],
|
||||
extensions: [
|
||||
[$class: 'RelativeTargetDirectory', relativeTargetDir: env.projectDir ],
|
||||
@ -180,6 +181,7 @@ pipeline {
|
||||
post {
|
||||
always {
|
||||
sh "rm -rf '${env.projectDir}'"
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -223,4 +225,4 @@ def waitForPackages(String tagRef, buildResults) {
|
||||
])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user