Skip to content
Snippets Groups Projects
Commit a9cef123 authored by George Joseph's avatar George Joseph
Browse files

CI: Prevent Jenkins from triggering jobs back to itself

Change-Id: I9cae8bb3d1a2cea335d3ccd88d471832549666fd
parent d15ef688
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment