Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
a9cef123
Commit
a9cef123
authored
6 years ago
by
George Joseph
Browse files
Options
Downloads
Patches
Plain Diff
CI: Prevent Jenkins from triggering jobs back to itself
Change-Id: I9cae8bb3d1a2cea335d3ccd88d471832549666fd
parent
d15ef688
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/CI/gates.jenkinsfile
+1
-0
1 addition, 0 deletions
tests/CI/gates.jenkinsfile
tests/CI/unittests.jenkinsfile
+1
-0
1 addition, 0 deletions
tests/CI/unittests.jenkinsfile
with
2 additions
and
0 deletions
tests/CI/gates.jenkinsfile
+
1
−
0
View file @
a9cef123
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
tests/CI/unittests.jenkinsfile
+
1
−
0
View file @
a9cef123
...
...
@@ -59,6 +59,7 @@ pipeline {
*/
when
{
not
{
environment
name:
'GERRIT_CHANGE_NUMBER'
,
value:
''
}
not
{
environment
name:
'GERRIT_EVENT_ACCOUNT_NAME'
,
value:
'Jenkins2'
}
}
steps
{
script
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment