summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-03-28 20:28:30 +0100
committerSonarTech <sonartech@sonarsource.com>2019-03-29 20:21:43 +0100
commitac9d6846fb7bfe46305da85f6dcaff4ed8521a1e (patch)
tree59e2d898b562928d7c68346f9baad4f1dc20927e /.cirrus.yml
parent3ed0ac5e6166a0c866e258095db7c23eb74c97a3 (diff)
downloadsonarqube-ac9d6846fb7bfe46305da85f6dcaff4ed8521a1e.tar.gz
sonarqube-ac9d6846fb7bfe46305da85f6dcaff4ed8521a1e.zip
Download build reports from Cirrus
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 8d67b86ac59..c2cee3987a8 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -51,6 +51,9 @@ build_task:
- ./private/cirrus/cirrus-build.sh
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
deploy_docs_task:
depends_on: build
@@ -100,6 +103,9 @@ validate_task:
- ./private/cirrus/cirrus-validate.sh postgres106
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
qa_task:
depends_on: build
@@ -146,6 +152,9 @@ qa_task:
- ./private/cirrus/cirrus-qa.sh postgres106
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
promote_task:
depends_on:
@@ -199,6 +208,10 @@ test_sql_mysql57_task:
- ./private/cirrus/cirrus-db-unit-test.sh mysql57
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
+
test_sql_mssql2017_task:
depends_on: build
@@ -228,6 +241,10 @@ test_sql_mssql2017_task:
- ./private/cirrus/cirrus-db-unit-test.sh mssql2017
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
+
test_sql_mssql2019_task:
depends_on: build
@@ -257,6 +274,10 @@ test_sql_mssql2019_task:
- ./private/cirrus/cirrus-db-unit-test.sh mssql2019
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
+
# this is the oldest compatible version of PostgreSQL
test_sql_postgres93_task:
@@ -286,6 +307,9 @@ test_sql_postgres93_task:
- ./private/cirrus/cirrus-db-unit-test.sh postgres93
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
test_sql_oracle12_task:
depends_on: build
@@ -313,6 +337,9 @@ test_sql_oracle12_task:
- ./private/cirrus/cirrus-db-unit-test.sh oracle12
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
test_upgrade_mysql57_task:
@@ -353,6 +380,10 @@ test_upgrade_mysql57_task:
- ./private/cirrus/cirrus-qa.sh mysql57
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
+
test_upgrade_mssql2017_task:
depends_on: build
@@ -391,6 +422,9 @@ test_upgrade_mssql2017_task:
- ./private/cirrus/cirrus-qa.sh mssql2017
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"
test_upgrade_oracle12_task:
@@ -428,3 +462,6 @@ test_upgrade_oracle12_task:
- ./private/cirrus/cirrus-qa.sh oracle12
cleanup_before_cache_script:
- ./private/cirrus/cleanup-gradle-cache.sh
+ on_failure:
+ reports_artifacts:
+ path: "**/build/reports/**/*"