Commit 3cb00ebe authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Fix getting lastCommit

parent 55b0a38e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ pipeline {
                    sh 'git log --oneline -n 5'
                    sh 'git status -sb'
                    script {
                        lastCommit = $(git log --format="%H" -n 1)
                        lastCommit = sh (script: "git log --format="%H" -n 1", returnStatus: true)
                    }

                }