refactor: refs #8698 update Jenkinsfile to extract last successful build commit hash and improve logging
This commit is contained in:
parent
69f84e2fcd
commit
bfe302e9d4
|
@ -90,7 +90,7 @@ pipeline {
|
|||
lastSuccessfulBuild = lastSuccessfulBuild.previousBuild
|
||||
}
|
||||
|
||||
if (lastSuccessfulBuild) {
|
||||
if (lastSuccessfulBuild != null) {
|
||||
// Extraer el commit del build exitoso desde el changelog
|
||||
def lastCommitHash = ""
|
||||
lastSuccessfulBuild.changesets.each { changeSet ->
|
||||
|
|
Loading…
Reference in New Issue