@@ -76,6 +76,28 @@ orchestrator_cache_definition: &ORCHESTRATOR_CACHE_DEFINITION
76
76
build_task :
77
77
<< : *BUILD_CONTAINER_DEFINITION
78
78
<< : *ONLY_SONARSOURCE_QA
79
+ env :
80
+ # analysis on next
81
+ SONAR_TOKEN : dummy-value
82
+ SONAR_HOST_URL : dummy-value
83
+ # allow deployment of pull request artifacts to repox
84
+ DEPLOY_PULL_REQUEST : true
85
+ CIRRUS_CLONE_DEPTH : 50
86
+ SIGN_KEY : VAULT[development/kv/data/sign data.key]
87
+ PGP_PASSPHRASE : VAULT[development/kv/data/sign data.passphrase]
88
+ maven_cache :
89
+ folder : ${CIRRUS_WORKING_DIR}/.m2/repository
90
+ build_script :
91
+ - source cirrus-env BUILD
92
+ - regular_mvn_build_deploy_analyze -DskipTests=true -Dsonar.skip=true -P-typeshed_serializer
93
+ - ./check-license-compliance.sh
94
+ cleanup_before_cache_script : cleanup_maven_repository
95
+
96
+ test_analyze_task :
97
+ depends_on :
98
+ - build
99
+ << : *BUILD_CONTAINER_DEFINITION
100
+ << : *ONLY_SONARSOURCE_QA
79
101
env :
80
102
# analysis on next
81
103
SONAR_TOKEN : VAULT[development/kv/data/next data.token]
@@ -87,15 +109,14 @@ build_task:
87
109
PGP_PASSPHRASE : VAULT[development/kv/data/sign data.passphrase]
88
110
maven_cache :
89
111
folder : ${CIRRUS_WORKING_DIR}/.m2/repository
90
- build_script :
112
+ analyze_script :
91
113
- git submodule update --init
92
114
- cd python-frontend/typeshed_serializer/resources/python-type-stubs
93
- - git sparse-checkout set stubs/sklearn
115
+ - git sparse-checkout set stubs/sklearn
94
116
- git checkout
95
117
- cd -
96
118
- source cirrus-env BUILD
97
- - regular_mvn_build_deploy_analyze -DfailStubGenerationFast=true
98
- - ./check-license-compliance.sh
119
+ - DEPLOY_PULL_REQUEST=false regular_mvn_build_deploy_analyze -DfailStubGenerationFast=true -P-release,-sign -Dsonar.analysisCache.enabled=true -Dskip.its=true
99
120
cleanup_before_cache_script : cleanup_maven_repository
100
121
101
122
build_win_task :
@@ -208,6 +229,7 @@ pr_analysis_qa_task:
208
229
209
230
promote_task :
210
231
depends_on :
232
+ - test_analyze
211
233
- ruling
212
234
- plugin_qa
213
235
- ws_scan
0 commit comments