Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6e0ca90

Browse files
update Jenkinsfile to use renamed master branch (#887)
1 parent f22e66b commit 6e0ca90

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
@@ -2,8 +2,8 @@ pipeline {
22
agent any
33

44
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' : '')
77
}
88

99
stages {
@@ -82,7 +82,7 @@ pipeline {
8282
when {
8383
allOf {
8484
triggeredBy 'TimerTrigger'
85-
branch "master"
85+
branch "main"
8686
}
8787
}
8888
matrix {
@@ -121,12 +121,12 @@ pipeline {
121121
when {
122122
allOf {
123123
triggeredBy 'TimerTrigger'
124-
branch "master"
124+
branch "main"
125125
}
126126
}
127127
steps {
128128
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
130130
'''
131131
}
132132
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /