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

This commit is contained in:
Alex Moreno 2025-02-28 14:58:37 +01:00
parent f17b773cca
commit 28ae84a931
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

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