]> source.dussan.org Git - sonarqube.git/commitdiff
BUILD-3759 Run Mend scan with the nightly cron
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Mon, 11 Sep 2023 09:44:06 +0000 (11:44 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 11 Sep 2023 20:02:53 +0000 (20:02 +0000)
.cirrus.yml

index 0349bf21a0dbe121f51a1edba875ff7269d9c9cf..ad4300f3ce297e9677c0bbd030afbd776be71767 100644 (file)
@@ -783,8 +783,7 @@ upgd_oracle21_task:
 mend_scan_task:
   <<: *DEFAULT_TEMPLATE
   <<: *BUILD_DEPENDANT_TASK_TEMPLATE
-  only_if: >-
-    $CIRRUS_BRANCH == $BRANCH_MAIN || ($CIRRUS_BRANCH =~ $BRANCH_PATTERN_MAINTENANCE && $CIRRUS_BRANCH != $BRANCH_NIGHTLY)
+  <<: *MASTER_OR_NIGHTLY_OR_MAINTENANCE_TASK_TEMPLATE
   <<: *YARN_CACHE_TEMPLATE
   <<: *GRADLE_CACHE_TEMPLATE
   timeout_in: 30m