Update Jenkinsfile

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

6
Jenkinsfile vendored
View file

@ -58,6 +58,7 @@ pipeline {
} }
} }
stage('JIRA') { stage('JIRA') {
steps {
script { 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'],
@ -66,12 +67,11 @@ pipeline {
customfield_1000: 'customValue', customfield_1000: 'customValue',
// id or name must present for issuetype. // id or name must present for issuetype.
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()
} }
}
} }
} }
} }