From 42de0ddabaa79a1dc54945d841f76ee045a943ba Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Mon, 26 Sep 2022 11:47:12 +0200 Subject: [PATCH] SONAR-17304 Fix SAML QA Co-Authored-By: Steve Marion --- .cirrus.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index cc04d725328..20cdf3a5ad2 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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 -- 2.39.5