add branch debugging to jenkins pipeline

This commit is contained in:
RebeccaNod1 2025-08-12 06:41:45 -05:00
parent 46d4c66dbc
commit c7bb6dae6d

8
Jenkinsfile vendored
View file

@ -17,6 +17,14 @@ pipeline {
steps {
echo "🔍 Checking out LSL project: ${PROJECT_NAME}"
checkout scm
script {
// Debug branch detection
echo "🔍 Branch debugging:"
echo " BRANCH_NAME: ${env.BRANCH_NAME}"
echo " GIT_BRANCH: ${env.GIT_BRANCH}"
sh 'echo " Current branch: $(git branch --show-current)"'
sh 'echo " Git describe: $(git describe --all --long)"'
}
}
}