Skip to content

Commit 42171fa

Browse files
committed
Update Jenkinsfile to use main
1 parent 3fb68b4 commit 42171fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Jenkinsfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ pipeline {
99
}
1010

1111
triggers {
12-
// timer trigger for "nightly build" on master branch
13-
cron( env.BRANCH_NAME.equals('master') ? 'H H(0-3) * * 1-5' : '')
12+
// timer trigger for "nightly build" on main branch
13+
cron( env.BRANCH_NAME.equals('main') ? 'H H(0-3) * * 1-5' : '')
1414
}
1515

1616
environment {
@@ -50,7 +50,7 @@ pipeline {
5050
stage ('SystemTest Gate') {
5151
when {
5252
allOf {
53-
changeRequest target: 'master'
53+
changeRequest target: 'main'
5454
not { changelog '\\[skip-ci\\].*' }
5555
not { changelog '\\[full-mats\\].*' }
5656
}
@@ -103,12 +103,12 @@ pipeline {
103103
when {
104104
allOf {
105105
triggeredBy 'TimerTrigger'
106-
branch "master"
106+
branch "main"
107107
}
108108
}
109109
steps {
110110
sh '''
111-
oci os object put --namespace=weblogick8s --bucket-name=wko-system-test-files --config-file=/dev/null --auth=instance_principal --force --file=installer/target/imagetool.zip --name=imagetool-master.zip
111+
oci os object put --namespace=weblogick8s --bucket-name=wko-system-test-files --config-file=/dev/null --auth=instance_principal --force --file=installer/target/imagetool.zip --name=imagetool-main.zip
112112
'''
113113
}
114114
}

0 commit comments

Comments
 (0)