mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
CI: Prevent Jenkins from triggering jobs back to itself
Change-Id: I9cae8bb3d1a2cea335d3ccd88d471832549666fd
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user