add branch debugging to jenkins pipeline
This commit is contained in:
parent
46d4c66dbc
commit
c7bb6dae6d
1 changed files with 8 additions and 0 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
|
@ -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)"'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue