Skip to content

Commit 73553c5

Browse files
committed
(WIP)
1 parent ab38756 commit 73553c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.cirrus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ cleanup_gradle_cache_script_template: &CLEANUP_GRADLE_CACHE_SCRIPT
103103
gradle_its_template: &GRADLE_ITS_TEMPLATE
104104
<<: *SETUP_GRADLE_CACHE
105105
<<: *ORCHESTRATOR_CACHE_DEFINITION
106+
download_script:
107+
- mkdir -p sonar-kotlin-plugin/build/libs
108+
- curl --fail -X GET -o sonar-kotlin-plugin/build/libs/sonar-kotlin-plugin.jar http://${CIRRUS_HTTP_CACHE_HOST}/build/${CIRRUS_BUILD_ID}/sonar-kotlin-plugin.jar
106109
run_its_script:
107110
- |
108111
if [ -n "${GIT_SUB_MODULE}" ]; then
@@ -136,6 +139,8 @@ build_task:
136139
build_script:
137140
- source cirrus-env BUILD-PRIVATE
138141
- regular_gradle_build_deploy_analyze -x test -x sonar
142+
upload_script:
143+
- curl -X POST --data-binary @sonar-kotlin-plugin/build/libs/sonar-kotlin-plugin.jar http://${CIRRUS_HTTP_CACHE_HOST}/build/${CIRRUS_BUILD_ID}/sonar-kotlin-plugin.jar
139144
on_failure:
140145
error_log_artifacts:
141146
path: "hs_err_pid*.log"

0 commit comments

Comments
 (0)