Details

    • Similar Issues:

      Description

      When a Jenkins job executes, it sets some environment variables. It would be nice if BZR variables were available. I saw that BZR_REV-NOID and BZR_REVISION are available, but it doesn't look like they currently work.

      I would also like to request
      BZR_AUTHOR or BZR_COMMITTER
      BZR_MESSAGE

      Would these be possible to implement?

        Attachments

          Issue Links

            Activity

            Hide
            zigarn Alexandre Garnier added a comment -

            Does it make sense to add these variables?
            A build does not necessarily build only one commit and then there are multiple committers and messages.
            It is possible to do it, but is the last or first commit the more relevant?
            The solution I think of would not populate these variables in case of build without new commit (launched by a user or other build).

            Show
            zigarn Alexandre Garnier added a comment - Does it make sense to add these variables? A build does not necessarily build only one commit and then there are multiple committers and messages. It is possible to do it, but is the last or first commit the more relevant? The solution I think of would not populate these variables in case of build without new commit (launched by a user or other build).
            Hide
            zigarn Alexandre Garnier added a comment -

            A possible solution : bazaar-plugin@JENKINS-17376

            Show
            zigarn Alexandre Garnier added a comment - A possible solution : bazaar-plugin@JENKINS-17376
            Hide
            bretthardin Brett Hardin added a comment -

            Alexandre,

            Will this be merged in?

            Brett

            Show
            bretthardin Brett Hardin added a comment - Alexandre, Will this be merged in? Brett
            Hide
            zigarn Alexandre Garnier added a comment -

            Is it really relevant?
            This solution only give the data of the first commit and no data for a build w/o commit (e.g. manual build)

            Show
            zigarn Alexandre Garnier added a comment - Is it really relevant? This solution only give the data of the first commit and no data for a build w/o commit (e.g. manual build)

              People

              • Assignee:
                stewart Stewart Smith
                Reporter:
                bretthardin Brett Hardin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: