ci: refs #8698 try lastSuccessfulBuild
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
1fcdd120c5
commit
e24600d1ad
|
@ -74,14 +74,14 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
stage('Install') {
|
||||
environment {
|
||||
NODE_ENV = ""
|
||||
}
|
||||
steps {
|
||||
sh 'pnpm install --prefer-offline'
|
||||
}
|
||||
}
|
||||
// stage('Install') {
|
||||
// environment {
|
||||
// NODE_ENV = ""
|
||||
// }
|
||||
// steps {
|
||||
// sh 'pnpm install --prefer-offline'
|
||||
// }
|
||||
// }
|
||||
stage('Buscar último build con éxito') {
|
||||
steps {
|
||||
script {
|
||||
|
@ -89,7 +89,7 @@ pipeline {
|
|||
while (lastSuccessfulBuild != null && lastSuccessfulBuild.result != 'SUCCESS') {
|
||||
lastSuccessfulBuild = lastSuccessfulBuild.previousBuild
|
||||
}
|
||||
echo "lastSuccessfulBuild ${lastSuccessfulBuild}"
|
||||
echo "lastSuccessfulBuild ${lastSuccessfulBuild.changesets}"
|
||||
// if (lastSuccessfulBuild != null && lastSuccessfulBuild.changesets.size() > 0) {
|
||||
// echo "lastSuccessfulBuild ${lastSuccessfulBuild} ${lastSuccessfulBuild.changesets.size()}"
|
||||
// // Extraer el commit del build exitoso desde el changelog
|
||||
|
|
Loading…
Reference in New Issue