We have a Jenkins multi-stage pipeline that is triggered with a commit message containing the JIRA ID.
Using the JIRA plugin (https://wiki.jenkins-ci.org/display/JENKINS/JIRA+Plugin), we're able to successfully create a comment about the status of the job.
However, when the 2nd phase of the pipeline is triggered, we appear to be losing the ability to add a comment back into the JIRA issue.
For example here is our pipeline
1. Commit (with commit comment "PROJ-111: Initial commit") and CI build is triggered
2. Deploy to Dev (successfully sent commit comment to PROJ-111)
3. Deploy to QA (unable to send commit comment to PROJ-111)
Do I need to add the "JIRA: Update relevant issues" post-build step to every phase of the pipeline?
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events