diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2019-04-30 09:32:32 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-04-30 20:21:07 +0200 |
commit | 8a7fc3cbd90c0fc5c9b6ac88caac707b3afbb195 (patch) | |
tree | a2533cc35f29328cf6120ebdd1cb34468a2d6379 /.cirrus.yml | |
parent | b82cddc926b710c07a5a913f14eddef850b72485 (diff) | |
download | sonarqube-8a7fc3cbd90c0fc5c9b6ac88caac707b3afbb195.tar.gz sonarqube-8a7fc3cbd90c0fc5c9b6ac88caac707b3afbb195.zip |
Publish test results on Github Checks from Cirrus
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index a07be56af1d..5f4b154a599 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -105,6 +105,10 @@ validate_task: - ./private/cirrus/cirrus-validate.sh postgres106 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -154,6 +158,10 @@ qa_task: - ./private/cirrus/cirrus-qa.sh postgres106 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -212,6 +220,10 @@ test_sql_mysql57_task: - ./private/cirrus/cirrus-db-unit-test.sh mysql57 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -245,6 +257,10 @@ test_sql_mssql2017_task: - ./private/cirrus/cirrus-db-unit-test.sh mssql2017 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -278,6 +294,10 @@ test_sql_mssql2019_task: - ./private/cirrus/cirrus-db-unit-test.sh mssql2019 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -311,6 +331,10 @@ test_sql_postgres93_task: - ./private/cirrus/cirrus-db-unit-test.sh postgres93 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -341,6 +365,10 @@ test_sql_oracle12_task: - ./private/cirrus/cirrus-db-unit-test.sh oracle12 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -384,6 +412,10 @@ test_upgrade_mysql57_task: - ./private/cirrus/cirrus-qa.sh mysql57 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -426,6 +458,10 @@ test_upgrade_mssql2017_task: - ./private/cirrus/cirrus-qa.sh mssql2017 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" @@ -466,6 +502,10 @@ test_upgrade_oracle12_task: - ./private/cirrus/cirrus-qa.sh oracle12 cleanup_before_cache_script: - ./private/cirrus/cleanup-gradle-cache.sh + always: + junit_artifacts: + path: "**/test-results/**/*.xml" + format: junit on_failure: reports_artifacts: path: "**/build/reports/**/*" |