[cpack/jenkins-main] missed escaping a character in git command for jenkinsfile
This commit is contained in:
Vendored
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user