Skip to content

Commit

Permalink
trim() the result
Browse files Browse the repository at this point in the history
Skip-build: true
Skip-PR-comments: true

Required-githooks: true

Signed-off-by: Brian J. Murrell <[email protected]>
  • Loading branch information
brianjmurrell committed Jan 16, 2024
1 parent 678b387 commit 58ff6c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -330,15 +330,16 @@ pipeline {
// pragmasToEnv()
script {
env.pragmas = pragmasToEnv()
println(env.pragmas)
}
}
}
stage('Determine Base Branch') {
steps {
script {
env.BASE_BRANCH_NAME = sh label: 'Determine base branch name',
env.BASE_BRANCH_NAME = sh(label: 'Determine base branch name',
script: 'utils/scripts/get_base_branch',
returnStdout: true
returnStdout: true).trim()
echo 'Base branch == ' + env.BASE_BRANCH_NAME
}
}
Expand Down

0 comments on commit 58ff6c5

Please sign in to comment.