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

This commit is contained in:
Alex Moreno 2025-03-04 09:55:50 +01:00
parent 5bb078540d
commit 31ff7de958
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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}"
}