ci: refs #8698 use always lastCommit from CHANGE_TARGET
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
5bb078540d
commit
31ff7de958
|
@ -56,7 +56,7 @@ def getSpecs() {
|
|||
// }
|
||||
|
||||
if(!lastCommit) {
|
||||
lastCommit = sh(script: "git rev-parse origin/${env.CHANGE_TARGET}}", returnStdout: true).trim()
|
||||
lastCommit = sh(script: "git rev-parse origin/${env.CHANGE_TARGET}", returnStdout: true).trim()
|
||||
echo "Hash obtenido con git: ${lastCommit}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue