Loading Jenkinsfile +1 −1 Original line number Diff line number Diff line Loading @@ -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) } } Loading Loading
Jenkinsfile +1 −1 Original line number Diff line number Diff line Loading @@ -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) } } Loading