From a8f34236c0ad723ed3b900b006f767946b3df0e0 Mon Sep 17 00:00:00 2001 From: Derek Sharpe Date: Wed, 5 May 2021 08:28:09 -0500 Subject: [PATCH] update Jenkinsfile to use renamed master branch --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 16438c25f4..6831728f03 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,8 +2,8 @@ pipeline { agent any triggers { - // timer trigger for "nightly build" on master branch - cron( env.BRANCH_NAME.equals('master') ? 'H H(0-3) * * 1-5' : '') + // timer trigger for "nightly build" on main branch + cron( env.BRANCH_NAME.equals('main') ? 'H H(0-3) * * 1-5' : '') } stages { @@ -82,7 +82,7 @@ pipeline { when { allOf { triggeredBy 'TimerTrigger' - branch "master" + branch "main" } } matrix { @@ -121,12 +121,12 @@ pipeline { when { allOf { triggeredBy 'TimerTrigger' - branch "master" + branch "main" } } steps { sh ''' - 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 + 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 ''' } }