- JIRA Pipeline Steps plugin (https://plugins.jenkins.io/jira-steps/)
- JIRA cloud Access (provided on the day of training)
- Go to
Manage Jenkins
->Configure System
- G0 to section
JIRA Steps
and setup jira credentials (will be provided on the day of training).
Now we can run our pipeline.
-
Click
Build with Parameters
provide ticket number and click Build- Ticket number: TP-1
- Issue type: BUG
- Ticket number: TP-2
- Issue type: TASK
- Ticket number: TP-3
- Issue type: EPIC
- Ticket number: TP-1
NOTE: Pipeline verifies the type of ticket.
After a while, our buil should verify that the given ticket is of the correct type. If the type is correct, the next stage will run, which will perform an example action, and in the last step, a comment will be added to the ticket.