diff --git a/Jenkinsfile b/Jenkinsfile index 0ff34889f..ad62e9e3e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,17 +57,18 @@ pipeline { } } } - stage ('ComentToJira') + stage ('ComentToJira') { when { branch 'main' } steps { - echo 'Deploying to Production from main...' + sh (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' + } } } }