From e1c82cad4b0070d05814b260ea9faa85afa8ab0e Mon Sep 17 00:00:00 2001 From: Oleksandr Butenko <58562385+sprientera992@users.noreply.github.com> Date: Mon, 12 Jul 2021 21:04:34 +0300 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cd1a25bef..d43aafbc6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,8 +57,8 @@ pipeline { } } } - node { stage('JIRA') { + script { def testIssue = [fields: [ // id or key must present for project. project: [id: 'DEV'], summary: 'New JIRA Created from Jenkins.', @@ -68,10 +68,10 @@ pipeline { issuetype: [id: '3']]] response = jiraEditIssue idOrKey: 'DEV-1', issue: testIssue - + echo response.successful.toString() echo response.data.toString() - } + } } } }