Skip to content

Commit ab41de5

Browse files
authored
ci: fix stable branch creation locally (#1775)
1 parent d31cab9 commit ab41de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ pipeline {
316316
setupAPMGitEmail(global: false)
317317
sh(label: "checkout ${BRANCH_NAME} branch", script: "git checkout -f '${BRANCH_NAME}'")
318318
sh(label: 'rebase stable', script: """
319-
git rev-parse --quiet --verify stable && git checkout stable || git checkout -b stable
319+
git checkout -b stable --force
320320
git rebase '${BRANCH_NAME}'
321321
""")
322322
gitPush()

0 commit comments

Comments
 (0)