diff options
author | Belen Pruvost <belen.pruvost@sonarsource.com> | 2020-11-17 09:07:39 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-11-25 20:06:26 +0000 |
commit | 726f59f973455f3fc4828e1a3d646aec01d11fc6 (patch) | |
tree | 362d189e6ca65ec260c7e7f4ec1e88ca09b16ebf /.cirrus.yml | |
parent | 2f2d8a0aa1ec28cdb1d644f1a55025b8028dcc7f (diff) | |
download | sonarqube-726f59f973455f3fc4828e1a3d646aec01d11fc6.tar.gz sonarqube-726f59f973455f3fc4828e1a3d646aec01d11fc6.zip |
SONAR-14133 add warning when ado project and repo are not set
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 30 |
1 files changed, 29 insertions, 1 deletions
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: |