fix: refs #8698 update Jenkinsfile to include last successful build test information
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
0491fa58b4
commit
1a52a23712
|
@ -86,10 +86,11 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
def lastSuccessfulBuild = currentBuild.previousBuild
|
||||
def lastSuccessfulBuildTest = currentBuild.lastSuccessfulBuild
|
||||
while (lastSuccessfulBuild != null && lastSuccessfulBuild.result != 'SUCCESS') {
|
||||
lastSuccessfulBuild = lastSuccessfulBuild.previousBuild
|
||||
}
|
||||
echo "lastSuccessfulBuild ${lastSuccessfulBuild}"
|
||||
echo "lastSuccessfulBuild ${lastSuccessfulBuild} test ${lastSuccessfulBuildTest}"
|
||||
// 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