File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 2
2
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
3
//
4
4
5
- CRON_SETTINGS = '''H 3 * * * % MAVEN_PROFILE_NAME=oke-gate;CLUSTER_NAME=seqone;PARALLEL_RUN=false
5
+ CRON_SETTINGS_MAIN = '''H 3 * * * % MAVEN_PROFILE_NAME=oke-gate;CLUSTER_NAME=seqone;PARALLEL_RUN=false
6
6
H 2 * * * % MAVEN_PROFILE_NAME=oke-parallel;CLUSTER_NAME=parone;PARALLEL_RUN=true'''
7
+
8
+ CRON_SETTINGS_42 = '''H 3 * * * % MAVEN_PROFILE_NAME=oke-gate;CLUSTER_NAME=seq42one;PARALLEL_RUN=false
9
+ H 2 * * * % MAVEN_PROFILE_NAME=oke-parallel;CLUSTER_NAME=par42one;PARALLEL_RUN=true'''
10
+
11
+ CRON_SETTINGS = "${env.JOB_NAME == 'wko-oke-nightly' ? CRON_SETTINGS_MAIN : CRON_SETTINGS_42}"
12
+
7
13
pipeline {
8
14
agent { label 'large' }
9
15
options {
@@ -12,8 +18,8 @@ pipeline {
12
18
}
13
19
triggers {
14
20
// timer trigger for "nightly build"
15
- parameterizedCron(env.JOB_NAME == 'wko-oke-nightly ' ?
16
- CRON_SETTINGS : '' )
21
+ parameterizedCron(env.JOB_NAME == 'wko-oke-dev ' ?
22
+ '' : CRON_SETTINGS )
17
23
}
18
24
tools {
19
25
maven 'maven-3.8.7'
@@ -138,7 +144,7 @@ pipeline {
138
144
)
139
145
string(name: 'MOUNT_TARGET_OCID',
140
146
description: 'only for debug runs on wko-oke-dev',
141
- defaultValue: "test "
147
+ defaultValue: "ocid1.mounttarget.oc1.phx.aaaaaby27vhqpci5obuhqllqojxwiotqnb4c2ylefuzqaaaa "
142
148
)
143
149
string(name: 'BRANCH',
144
150
description: '',
You can’t perform that action at this time.
0 commit comments