aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorMalena Ebert <malena.ebert@sonarsource.com>2021-01-05 15:31:42 +0100
committersonartech <sonartech@sonarsource.com>2021-01-06 20:16:07 +0000
commit2ed5ea6372f344ba68aaa32e52b27e0cb1355015 (patch)
tree210a9a9bb7cfa636b3ad1639aafdcdd4d757be7f /.cirrus.yml
parent868dad0f0c55b37e400aa57ea5228de7d645cb7e (diff)
downloadsonarqube-2ed5ea6372f344ba68aaa32e52b27e0cb1355015.tar.gz
sonarqube-2ed5ea6372f344ba68aaa32e52b27e0cb1355015.zip
[BUILD] Store screenshots in all QA tasks.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml20
1 files changed, 4 insertions, 16 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 82409fb87d1..e9f376a54a9 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -159,7 +159,7 @@ qa_task:
script:
- ./private/cirrus/cirrus-qa.sh postgres106
on_failure:
- <<: *REPORTS_JUNIT_ON_FAILURE_TEMPLATE
+ <<: *REPORTS_JUNIT_SCREENSHOTS_ON_FAILURE_TEMPLATE
qa_bitbucket_task:
<<: *TASK_ONLY_NIGHTLY_DEPENDING_ON_BUILD_TEMPLATE
@@ -186,7 +186,7 @@ qa_bitbucket_task:
script:
- ./private/cirrus/cirrus-qa.sh postgres106
on_failure:
- <<: *REPORTS_JUNIT_ON_FAILURE_TEMPLATE
+ <<: *REPORTS_JUNIT_SCREENSHOTS_ON_FAILURE_TEMPLATE
qa_ha_task:
<<: *TASK_ONLY_NIGHTLY_DEPENDING_ON_BUILD_TEMPLATE
@@ -247,13 +247,7 @@ qa_gitlab_task:
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
+ <<: *REPORTS_JUNIT_SCREENSHOTS_ON_FAILURE_TEMPLATE
# Azure QA is executed in a dedicated task in order to not slow down the pipeline.
qa_azure_task:
@@ -275,13 +269,7 @@ qa_azure_task:
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
+ <<: *REPORTS_JUNIT_SCREENSHOTS_ON_FAILURE_TEMPLATE
# SAML QA is executed in a dedicated task in order to not slow down the pipeline, as a Keycloak server docker image is required.
qa_saml_task: