w3af: injection de BUILD_USER_ID en cas d'échec du pipeline
This commit is contained in:
parent
161fe3092c
commit
c6f1a2a2ef
|
@ -167,17 +167,19 @@ def call() {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
rocketSend (
|
wrap([$class: 'BuildUser']) {
|
||||||
avatar: 'https://jenkins.cadol.es/static/b5f67753/images/headshot.png',
|
rocketSend (
|
||||||
message: """
|
avatar: 'https://jenkins.cadol.es/static/b5f67753/images/headshot.png',
|
||||||
Le test de sécurité pour `${params.targetUrl}` a échoué:
|
message: """
|
||||||
|
Le test de sécurité pour `${params.targetUrl}` a échoué:
|
||||||
[Voir le job](${env.RUN_DISPLAY_URL})
|
|
||||||
|
[Voir le job](${env.RUN_DISPLAY_URL})
|
||||||
@${env.BUILD_USER_ID ? env.BUILD_USER_ID : 'here'}
|
|
||||||
""".stripIndent(),
|
@${env.BUILD_USER_ID ? env.BUILD_USER_ID : 'here'}
|
||||||
rawMessage: true
|
""".stripIndent(),
|
||||||
)
|
rawMessage: true
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue