diff --git a/Jenkinsfile b/Jenkinsfile index f2187b57d..787852c6c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,5 +57,19 @@ pipeline { } } } - } + stage ('ComentToJira') + when { + branch 'main' + } + steps { + echo 'Deploying to Production from main...' + } + post { + always { + //jiraSendDeploymentInfo site: '.atlassian.net', environmentId: 'us-prod-1', environmentName: 'us-prod-1', environmentType: 'production' + jiraAddComment comment: 'build ', idOrKey: 'Task1', site: 'https://butenko992.atlassian.net' + } + } + } + } }