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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.