Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 4cf42f7

Browse files
committed
Update Jenkinsfile for default branch rename
Signed-off-by: Ryan Beck-Buysse <[email protected]>
1 parent 4b99322 commit 4cf42f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pipeline {
2424
}
2525

2626
triggers {
27-
cron(env.BRANCH_NAME == 'master' ? 'H 3 * * *' : '')
27+
cron(env.BRANCH_NAME == 'main' ? 'H 3 * * *' : '')
2828
}
2929

3030
options {
@@ -45,7 +45,7 @@ pipeline {
4545
}
4646
when {
4747
not {
48-
branch 'master'
48+
branch 'main'
4949
}
5050
}
5151
}

0 commit comments

Comments
 (0)