ci: add stable update debugging traces
@@ -444,8 +444,13 @@ pipeline {
setupAPMGitEmail(global: false)
sh(label: "checkout ${BRANCH_NAME} branch", script: "git checkout -f '${BRANCH_NAME}'")
sh(label: 'rebase stable', script: """
+ echo 'INFO: checkout the stable branch'
git rev-parse --quiet --verify stable && git checkout stable || git checkout -b stable
+ echo 'INFO: rebase with ${BRANCH_NAME}'
git rebase '${BRANCH_NAME}'
+ echo 'DEBUG: current status'
+ git --no-pager log -n1 --pretty=oneline
+ git rev-parse --abbrev-ref HEAD
""")
gitPush()
}
