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
3fe137989a
commit
6940ea972a
1 changed files with 17 additions and 0 deletions
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
|
@ -56,6 +56,23 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
node {
|
||||||
|
stage('JIRA') {
|
||||||
|
# Look at IssueInput class for more information.
|
||||||
|
def testIssue = [fields: [ // id or key must present for project.
|
||||||
|
project: [id: 'DEV'],
|
||||||
|
summary: 'New JIRA Created from Jenkins.',
|
||||||
|
description: 'New JIRA Created from Jenkins.',
|
||||||
|
customfield_1000: 'customValue',
|
||||||
|
// id or name must present for issuetype.
|
||||||
|
issuetype: [id: '3']]]
|
||||||
|
|
||||||
|
response = jiraEditIssue idOrKey: 'DEV-1', issue: testIssue
|
||||||
|
|
||||||
|
echo response.successful.toString()
|
||||||
|
echo response.data.toString()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue