diff --git a/Jenkinsfile b/Jenkinsfile index f6ba1fee0..ee2ec15d8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,11 @@ pipeline { } stage('Jira2') { steps { - jiraAddComment idOrKey: "${TaskID}", comment: 'build successfull', site: 'butenko992' + script { + TaskID = sh 'git log -1 --pretty=%' + sh 'echo ${TaskID}' + jiraAddComment idOrKey: "${TaskID}", comment: 'build successfull', site: 'butenko992' + } } } stage('Build') {