Skip to content
Snippets Groups Projects
Commit 5a03c668 authored by michael.minelli's avatar michael.minelli
Browse files

CI/CD => Replace deprecated "only" by "rules"

parent f55b7e48
No related branches found
No related tags found
1 merge request!10Resolve "Add sonar integration"
Pipeline #29882 canceled
......@@ -11,6 +11,7 @@ code_quality:lint:
rules:
- if: '$CI_COMMIT_TAG =~ "/^$/"'
code_quality:sonarqube:
stage: code_quality
tags:
......@@ -27,8 +28,5 @@ code_quality:sonarqube:
- .sonar/cache
script:
- sonar-scanner
allow_failure: true
only:
- merge_requests
- main
- develop
rules:
- if: '$CI_COMMIT_TAG =~ "/^$/"'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment