From 726f59f973455f3fc4828e1a3d646aec01d11fc6 Mon Sep 17 00:00:00 2001 From: Belen Pruvost Date: Tue, 17 Nov 2020 09:07:39 +0200 Subject: [PATCH] SONAR-14133 add warning when ado project and repo are not set --- .cirrus.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 2b8e55b52aa..0cba0ff7cb3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -239,7 +239,35 @@ qa_gitlab_task: # Depth of 1 is not enough because it would fail the build in case of consecutive pushes # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!") CIRRUS_CLONE_DEPTH: 50 - QA_CATEGORY: GITLAB + QA_CATEGORY: AZURE + gradle_cache: + folder: ~/.gradle/caches + script: + - ./private/cirrus/cirrus-qa.sh h2 + cleanup_before_cache_script: + - ./private/cirrus/cleanup-gradle-cache.sh + on_failure: + reports_artifacts: + path: "**/build/reports/**/*" + screenshots_artifacts: + path: "**/build/screenshots/**/*" + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit + +# Azure QA is executed in a dedicated task in order to not slow down the pipeline. +qa_azure_task: + <<: *TASK_ONLY_NIGHTLY_DEPENDING_ON_BUILD_TEMPLATE + gke_container: + <<: *GKE_CONTAINER_TEMPLATE + cpu: 2.4 + memory: 5Gb + env: + # No need to clone the full history. + # Depth of 1 is not enough because it would fail the build in case of consecutive pushes + # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!") + CIRRUS_CLONE_DEPTH: 50 + QA_CATEGORY: AZURE gradle_cache: folder: ~/.gradle/caches script: -- 2.39.5