mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
e1c82cad4b
commit
939fd2a2e9
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -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()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue