File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 12
12
# Use bash (instead of sh on linux or cmd.exe on windows)
13
13
CIRRUS_SHELL : bash
14
14
JF_ALIAS : " jfrog"
15
+ CRON_NIGHTLY_JOB_NAME : " nightly"
15
16
16
17
only_if : $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_TAG == "" && ($CIRRUS_PR != "" || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH =~ "branch-.*")
17
18
linux_container_definition : &LINUX_CONTAINER_DEFINITION
@@ -183,6 +184,8 @@ analysis_next_task:
183
184
184
185
analysis_SQC_EU_shadow_task :
185
186
<< : *ANALYSIS_BASE_LINUX_TEMPLATE
187
+ # only executed in CRON job AND on master branch
188
+ only_if : $CIRRUS_CRON == $CRON_NIGHTLY_JOB_NAME && $CIRRUS_BRANCH == "master"
186
189
alias : sonar_analysis_shadow_sqc_eu
187
190
name : " SQC-EU Shadow Analysis"
188
191
env :
@@ -191,6 +194,8 @@ analysis_SQC_EU_shadow_task:
191
194
192
195
analysis_SQC_US_shadow_task :
193
196
<< : *ANALYSIS_BASE_LINUX_TEMPLATE
197
+ # only executed in CRON job AND on master branch
198
+ only_if : $CIRRUS_CRON == $CRON_NIGHTLY_JOB_NAME && $CIRRUS_BRANCH == "master"
194
199
alias : sonar_analysis_shadow_sqc_us
195
200
name : " SQC-US Shadow Analysis"
196
201
env :
@@ -296,8 +301,6 @@ promote_task:
296
301
depends_on :
297
302
- formatting
298
303
- sonar_analysis_next
299
- - sonar_analysis_shadow_sqc_eu
300
- - sonar_analysis_shadow_sqc_us
301
304
- qa
302
305
- qa_windows
303
306
- build
You can’t perform that action at this time.
0 commit comments