feat(debian packaging): update pipeline

This commit is contained in:
Laurent Gourvenec 2023-04-27 14:45:19 +02:00
parent 1d35892e87
commit 7afabcedde
1 changed files with 5 additions and 3 deletions

View File

@ -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) {
])
}
}
}
}