Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40846

Expose change.getCommitId() as env variable

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I would like to include the commit ID as part of the Jira Comment. I can see from the build output of the commit ID. Now i would like to get that information (say thru env variable) so that I can include that as part of the comment i push to jira. I am not sure if this env variable is already in place or not. Thanks

      12:49:02 ChangeLogSet class: class hudson.plugins.git.GitChangeSetList
      12:49:02 Operation: Add a comment
      12:49:02 Updating ticket: MVR-836
      12:49:02 change.msg() MVR-836 Remove target no longer in use
      12:49:02 change.getCommitId() a705190c4ee2db656617abd610c598cb7dcb1220
      12:49:02 change.getAuthor() Andy Tang

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            dalvizu Dan Alvizu
            Reporter:
            andyt Andy Tang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: