• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • bazaar-plugin
    • None

      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?

          [JENKINS-17376] BZR Environment Variables

          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).

          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).

          A possible solution : bazaar-plugin@JENKINS-17376

          Alexandre Garnier added a comment - A possible solution : bazaar-plugin@JENKINS-17376

          Brett Hardin added a comment -

          Alexandre,

          Will this be merged in?

          Brett

          Brett Hardin added a comment - Alexandre, Will this be merged in? Brett

          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)

          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)

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

              Created:
              Updated: