Mise à jour pipeline de packaging

This commit is contained in:
wpetit 2020-03-04 16:55:46 +01:00
parent 8e2b7a214a
commit 095780e3ce
1 changed files with 4 additions and 4 deletions

View File

@ -14,11 +14,10 @@ pipeline {
stage("Clone repository") {
steps {
sh 'git config http.postBuffer 524288000'
checkout scm:
[
$class: 'GitSCM',
userRemoteConfigs: [[url: env.repository_url, credentialsId: 'forge-jenkins']],
userRemoteConfigs: [[url: env.repository_url, credentialsId: 'jenkins-forge-ssh']],
branches: [[name: env.ref]],
extensions: [
[$class: 'RelativeTargetDirectory', relativeTargetDir: env.projectDir ],
@ -100,10 +99,11 @@ pipeline {
@${env.sender_login}
""".stripIndent(),
rawMessage: true
rawMessage: true,
attachments: lolops.getRandomDeliveryAttachment()
)
if (env.testPackageInstall == 'no') {
if (env.testPackageInstall != 'yes') {
println "Test d'intallation des paquets désactivé."
return
}