]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-17304 Fix SAML QA
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Mon, 26 Sep 2022 09:47:12 +0000 (11:47 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 26 Sep 2022 20:03:17 +0000 (20:03 +0000)
Co-Authored-By: Steve Marion <steve.marion@sonarsource.com>
.cirrus.yml

index cc04d7253289d7a86732861be2eea364137b63c3..20cdf3a5ad2e0d2ff24e926f4bb66e9a49272c05 100644 (file)
@@ -50,6 +50,11 @@ database_related_nightly_task_template: &DATABASE_RELATED_NIGHTLY_TASK_TEMPLATE
     $CIRRUS_BRANCH == $BRANCH_NIGHTLY ||
     changesInclude('server/sonar-db-dao/**/*Mapper.xml', 'server/sonar-db-migration/**/DbVersion*.java', 'server/sonar-db-dao/**/*Dao.java')
 
+saml_nightly_task_template: &SAML_NIGHTLY_TASK_TEMPLATE
+  only_if: >-
+    $CIRRUS_BRANCH == $BRANCH_NIGHTLY ||
+    changesInclude('server/sonar-auth-saml/src/main/java/**/*.java', 'server/sonar-auth-saml/src/main/resources/**/*', 'server/sonar-db-dao/src/main/**/SAML*.java', 'private/it-core/src/test/java/org/sonarqube/tests/saml/*.java', 'server/sonar-webserver-webapi/src/main/java/org/sonar/server/saml/**/*.java')
+
 docker_build_container_template: &GKE_CONTAINER_TEMPLATE
   dockerfile: private/docker/Dockerfile-build
   builder_image_project: sonarqube-team
@@ -412,7 +417,7 @@ qa_azure_task:
 qa_saml_task:
   <<: *SKIP_PUBLIC_BRANCHES_TEMPLATE
   <<: *BUILD_DEPENDANT_TASK_TEMPLATE
-  <<: *NIGHTLY_TASK_TEMPLATE
+  <<: *SAML_NIGHTLY_TASK_TEMPLATE
   <<: *GRADLE_CACHE_TEMPLATE
   gke_container:
     <<: *GKE_CONTAINER_TEMPLATE