diff --git a/Jenkinsfile b/Jenkinsfile index 1f83dc489..b0bffce9b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,6 +10,7 @@ pipeline { stage('Jira2') { steps { jiraAddComment idOrKey: 'DEV-1', comment: 'hello', site: 'butenko992' + env.revision = sh(script: "git log --pretty=format:\"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\" \$prevcommit...\$GIT_COMMIT", , returnStdout: true).trim() } } stage('get hash') {