refactor: refs #8698 update Jenkinsfile to use last successful build's changesets for commit extraction
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
f17b773cca
commit
28ae84a931
|
@ -93,7 +93,7 @@ pipeline {
|
|||
if (lastSuccessfulBuild != null) {
|
||||
// Extraer el commit del build exitoso desde el changelog
|
||||
def lastCommitHash = ""
|
||||
for (changeSet in currentBuild.changesets) {
|
||||
for (changeSet in lastSuccessfulBuild.changesets) {
|
||||
for (change in changeSet.items) {
|
||||
echo "Autor: ${change.author}"
|
||||
echo "Comentario: ${change.comment}"
|
||||
|
|
Loading…
Reference in New Issue