File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ pipeline {
2
2
agent any
3
3
4
4
triggers {
5
- // timer trigger for "nightly build" on master branch
6
- cron( env. BRANCH_NAME . equals(' master ' ) ? ' H H(0-3) * * 1-5' : ' ' )
5
+ // timer trigger for "nightly build" on main branch
6
+ cron( env. BRANCH_NAME . equals(' main ' ) ? ' H H(0-3) * * 1-5' : ' ' )
7
7
}
8
8
9
9
stages {
@@ -82,7 +82,7 @@ pipeline {
82
82
when {
83
83
allOf {
84
84
triggeredBy ' TimerTrigger'
85
- branch " master "
85
+ branch " main "
86
86
}
87
87
}
88
88
matrix {
@@ -121,12 +121,12 @@ pipeline {
121
121
when {
122
122
allOf {
123
123
triggeredBy ' TimerTrigger'
124
- branch " master "
124
+ branch " main "
125
125
}
126
126
}
127
127
steps {
128
128
sh '''
129
- oci os object put --namespace=weblogick8s --bucket-name=wko-system-test-files --config-file=/dev/null --auth=instance_principal --force --file=installer/target/weblogic-deploy.zip --name=weblogic-deploy-master .zip
129
+ oci os object put --namespace=weblogick8s --bucket-name=wko-system-test-files --config-file=/dev/null --auth=instance_principal --force --file=installer/target/weblogic-deploy.zip --name=weblogic-deploy-main .zip
130
130
'''
131
131
}
132
132
}
You can’t perform that action at this time.
0 commit comments