From 5ffdb44601058f5677d4299b477f31e4448dc6fb Mon Sep 17 00:00:00 2001 From: Oleksandr Butenko <58562385+sprientera992@users.noreply.github.com> Date: Mon, 12 Jul 2021 19:37:41 +0300 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' + } } } }