[cpack/jenkins-main] missed escaping a character in git command for jenkinsfile

This commit is contained in:
scottr
2021-06-19 07:15:23 -07:00
parent c507422760
commit 68d90366a8
+1 -1
View File
@@ -258,7 +258,7 @@ def CheckoutRepo(boolean disableSubmodules = false) {
palRm('commitid')
// CHANGE_DATE is used by the installer to provide some ability to sort tagged builds in addition to BRANCH_NAME and CHANGE_ID
palSh("git show -s --format=\"%cs\" ${env.CHANGE_ID} > commitdate", 'Getting commit date')
palSh("git show -s --format=\"%%cs\" ${env.CHANGE_ID} > commitdate", 'Getting commit date')
env.CHANGE_DATE = readFile file: 'commitdate'
env.CHANGE_DATE = env.CHANGE_DATE.trim()
palRm('commitdate')