File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,26 @@ build_task:
131
131
DEPLOY_PULL_REQUEST : true
132
132
build_script :
133
133
- source cirrus-env BUILD-PRIVATE
134
- - regular_gradle_build_deploy_analyze
134
+ - regular_gradle_build_deploy_analyze -x test -x sonar
135
+ on_failure :
136
+ error_log_artifacts :
137
+ path : " hs_err_pid*.log"
138
+ heap_dump_artifacts :
139
+ path : " *.hprof"
140
+ << : *CLEANUP_GRADLE_CACHE_SCRIPT
141
+
142
+ build_test_analyze_task :
143
+ << : *LINUX_3_5_CPU_7G
144
+ << : *SETUP_GRADLE_CACHE
145
+ env :
146
+ # analysis on next
147
+ SONAR_TOKEN : VAULT[development/kv/data/next data.token]
148
+ SONAR_HOST_URL : https://next.sonarqube.com/sonarqube
149
+ # allow deployment of pull request artifacts to repox
150
+ DEPLOY_PULL_REQUEST : true
151
+ build_script :
152
+ - source cirrus-env BUILD-PRIVATE
153
+ - regular_gradle_build_deploy_analyze -x artifactoryPublish
135
154
on_failure :
136
155
error_log_artifacts :
137
156
path : " hs_err_pid*.log"
@@ -152,7 +171,7 @@ ws_scan_task:
152
171
folder : ${CIRRUS_WORKING_DIR}/.m2/repository
153
172
whitesource_script :
154
173
- source cirrus-env QA
155
- - ./gradlew clean build -x test
174
+ - ./gradlew clean assemble
156
175
- source ./export_ws_variables.sh
157
176
- source ws_scan.sh
158
177
allow_failures : " true"
You can’t perform that action at this time.
0 commit comments