Update Jenkinsfile

This commit is contained in:
Oleksandr Butenko 2021-07-12 21:04:34 +03:00 committed by GitHub
parent 9eed310199
commit e1c82cad4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
Jenkinsfile vendored
View file

@ -57,8 +57,8 @@ pipeline {
} }
} }
} }
node {
stage('JIRA') { stage('JIRA') {
script {
def testIssue = [fields: [ // id or key must present for project. def testIssue = [fields: [ // id or key must present for project.
project: [id: 'DEV'], project: [id: 'DEV'],
summary: 'New JIRA Created from Jenkins.', summary: 'New JIRA Created from Jenkins.',
@ -68,10 +68,10 @@ pipeline {
issuetype: [id: '3']]] issuetype: [id: '3']]]
response = jiraEditIssue idOrKey: 'DEV-1', issue: testIssue response = jiraEditIssue idOrKey: 'DEV-1', issue: testIssue
echo response.successful.toString() echo response.successful.toString()
echo response.data.toString() echo response.data.toString()
} }
} }
} }
} }