Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SonarQube
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
SmartDataLab
public
CI-CD components
SonarQube
Commits
48fdc644
Commit
48fdc644
authored
2 years ago
by
Pierre Smeyers
Browse files
Options
Downloads
Patches
Plain Diff
feat: switch to Merge Request pipelines as default
parent
906caf89
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/gitlab-ci-sonar.yml
+3
-3
3 additions, 3 deletions
templates/gitlab-ci-sonar.yml
with
3 additions
and
3 deletions
templates/gitlab-ci-sonar.yml
+
3
−
3
View file @
48fdc644
...
...
@@ -13,11 +13,11 @@
# program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301, USA.
# =========================================================================================
# default workflow rules
# default workflow rules
: Merge Request pipelines
workflow
:
rules
:
# exclude merge requests
-
if
:
$CI_MERGE_REQUEST
_ID
-
if
:
'
$CI_MERGE_REQUEST_ID'
-
if
:
'
$CI_
COMMIT_BRANCH
&&
$CI_OPEN_
MERGE_REQUEST
S'
when
:
never
-
when
:
always
...
...
This diff is collapsed.
Click to expand it.
Benguria Elguezabal, Gorka
@gorka.benguria
mentioned in commit
c1f55479
·
1 year ago
mentioned in commit
c1f55479
mentioned in commit c1f55479a9ffe9c3e761f0968a1a693693a4bf58
Toggle commit list
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