CI: Prevent Jenkins from triggering jobs back to itself

Change-Id: I9cae8bb3d1a2cea335d3ccd88d471832549666fd
16.0
George Joseph 7 years ago
parent d15ef68892
commit a9cef123d9

@ -57,6 +57,7 @@ pipeline {
*/
when {
not { environment name: 'GERRIT_CHANGE_NUMBER', value: '' }
not { environment name: 'GERRIT_EVENT_ACCOUNT_NAME', value: 'Jenkins2' }
}
steps {
/* Here's where we switch to scripted pipeline */

@ -59,6 +59,7 @@ pipeline {
*/
when {
not { environment name: 'GERRIT_CHANGE_NUMBER', value: '' }
not { environment name: 'GERRIT_EVENT_ACCOUNT_NAME', value: 'Jenkins2' }
}
steps {
script {

Loading…
Cancel
Save