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

git-changelog: specifying references

    Details

    • Similar Issues:

      Description

      Hi!

      It would be very helpful if the plugin could serve for generating changelog since last build / last successful build and so on.

      It would include specifying 'from' reference as 'last successful build' / ... and 'to' reference as 'current build'.

      Does it make sense? If I could be helpful with solving this ticket, please let me know.

        Attachments

          Activity

          Hide
          trainmaster Martin Kulich added a comment -

          Hi guys,
          thank you both for your comments. I will definitely try the way Tomas suggests, I wasn't aware of the variables.

          Maybe it would be helpful to mention it in docs?

          Thanks again!

          Show
          trainmaster Martin Kulich added a comment - Hi guys, thank you both for your comments. I will definitely try the way Tomas suggests, I wasn't aware of the variables. Maybe it would be helpful to mention it in docs? Thanks again!
          Hide
          hujirong Jirong Hu added a comment -

          GIT_PREVIOUS_SUCCESSFUL_COMMIT is not available, I only see these in my Windows environment:

          GIT_BRANCH=origin/master
          GIT_COMMIT=a781fbc49bda7083ebc05e28cee60de4e4258b17
          GIT_PREVIOUS_COMMIT=a781fbc49bda7083ebc05e28cee60de4e4258b17
          GIT_URL=http://github.ooop.com/DevOps/Sample.git

          And I am having this issue: http://stackoverflow.com/questions/36016043/how-to-set-up-git-changelog-in-jenkins

          Show
          hujirong Jirong Hu added a comment - GIT_PREVIOUS_SUCCESSFUL_COMMIT is not available, I only see these in my Windows environment: GIT_BRANCH=origin/master GIT_COMMIT=a781fbc49bda7083ebc05e28cee60de4e4258b17 GIT_PREVIOUS_COMMIT=a781fbc49bda7083ebc05e28cee60de4e4258b17 GIT_URL= http://github.ooop.com/DevOps/Sample.git And I am having this issue: http://stackoverflow.com/questions/36016043/how-to-set-up-git-changelog-in-jenkins
          Hide
          tomasbjerre Tomas Bjerre added a comment -

          I guess you are refering to the printout from "GIt Publisher". Try to use the variables in "Git Changelog" task.

          Show
          tomasbjerre Tomas Bjerre added a comment - I guess you are refering to the printout from "GIt Publisher". Try to use the variables in "Git Changelog" task.
          Hide
          hujirong Jirong Hu added a comment - - edited

          Tomas Bjerre, All right, I figured out. I am using "Publish Git changelog", and there is another one called "Git changelog". Thanks.

          Show
          hujirong Jirong Hu added a comment - - edited Tomas Bjerre , All right, I figured out. I am using "Publish Git changelog", and there is another one called "Git changelog". Thanks.
          Hide
          tomasbjerre Tomas Bjerre added a comment -

          No problem =)

          Show
          tomasbjerre Tomas Bjerre added a comment - No problem =)

            People

            • Assignee:
              trainmaster Martin Kulich
              Reporter:
              trainmaster Martin Kulich
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: