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

Add select newest option to "List Subversion tags" build parameters

    Details

    • Similar Issues:

      Description

      For most of my use cases I need the newest tag. So it would be good, if by default the newest created tag would be selected. If I need a different option, I can still select it in the drop down list.

        Attachments

          Issue Links

            Activity

            Hide
            peter_schuetze peter_schuetze added a comment -

            I like the new sort option. Since I usually only look among the recently created tags I am fine with the implementation. Thanks for the fast implementation.

            Show
            peter_schuetze peter_schuetze added a comment - I like the new sort option. Since I usually only look among the recently created tags I am fine with the implementation. Thanks for the fast implementation.
            Hide
            martin_grotzke Martin Grotzke added a comment -

            I want jenkins to automatically select the latest tag for build. I have configured the build parameter
            List Subversion Tags with
            Name = SVN_TAG
            Repository URL = http://someproj.googlecode.com/svn/tags
            Maximum tags to display = 1
            Sort newest first = true

            The Source Code Management / Subversion is configured with
            Repository URL = http://someproj.googlecode.com/svn/tags/$SVN_TAG

            When I trigger a build (manually) jenkins tells me that "This build requires parameters:" and provides a drop down for SVN_TAG with a single value.
            Instead, I expect jenkins to build this tag automatically (which was also the goal of this issue AFAIU).
            Is this possible, what am I doing wrong?

            Show
            martin_grotzke Martin Grotzke added a comment - I want jenkins to automatically select the latest tag for build. I have configured the build parameter List Subversion Tags with Name = SVN_TAG Repository URL = http://someproj.googlecode.com/svn/tags Maximum tags to display = 1 Sort newest first = true The Source Code Management / Subversion is configured with Repository URL = http://someproj.googlecode.com/svn/tags/$SVN_TAG When I trigger a build (manually) jenkins tells me that "This build requires parameters:" and provides a drop down for SVN_TAG with a single value. Instead, I expect jenkins to build this tag automatically (which was also the goal of this issue AFAIU). Is this possible, what am I doing wrong?
            Hide
            martin_grotzke Martin Grotzke added a comment -

            I want jenkins to automatically select the latest tag for a build.

            I have configured the build parameter "List Subversion Tags" with
            Name = SVN_TAG
            Repository URL = http://someproj.googlecode.com/svn/tags
            Maximum tags to display = 1
            Sort newest first = true

            The Source Code Management / Subversion is configured with
            Repository URL = http://someproj.googlecode.com/svn/tags/$SVN_TAG

            When I trigger a build (manually) jenkins tells me that "This build requires parameters:" and provides a drop down for SVN_TAG with a single value.
            Instead, I expect jenkins to build this tag automatically (which should also be achieved with this issue AFAIU). Is this possible, what am I doing wrong?

            Show
            martin_grotzke Martin Grotzke added a comment - I want jenkins to automatically select the latest tag for a build. I have configured the build parameter "List Subversion Tags" with Name = SVN_TAG Repository URL = http://someproj.googlecode.com/svn/tags Maximum tags to display = 1 Sort newest first = true The Source Code Management / Subversion is configured with Repository URL = http://someproj.googlecode.com/svn/tags/$SVN_TAG When I trigger a build (manually) jenkins tells me that "This build requires parameters:" and provides a drop down for SVN_TAG with a single value. Instead, I expect jenkins to build this tag automatically (which should also be achieved with this issue AFAIU). Is this possible, what am I doing wrong?
            Hide
            dankirkd Daniel Kirkdorffer added a comment -

            Martin - I think you've just misunderstood the point of the issue, which is to simply pre-select in the dropdown list the newest tag. A person would still be required to click the build button after entering other parameter values that might exist.

            What you're suggesting is that the newest become the default, which seems reasonable, but different from this issue.

            Show
            dankirkd Daniel Kirkdorffer added a comment - Martin - I think you've just misunderstood the point of the issue, which is to simply pre-select in the dropdown list the newest tag. A person would still be required to click the build button after entering other parameter values that might exist. What you're suggesting is that the newest become the default, which seems reasonable, but different from this issue.
            Hide
            martin_grotzke Martin Grotzke added a comment -

            Yes, it took some time until I got this. When I had understood the point of this issue I created JENKINS-14155.

            Though, I should have updated my comment here, sorry for missing that.

            Show
            martin_grotzke Martin Grotzke added a comment - Yes, it took some time until I got this. When I had understood the point of this issue I created JENKINS-14155 . Though, I should have updated my comment here, sorry for missing that.

              People

              • Assignee:
                rseguy Romain Seguy
                Reporter:
                peter_schuetze peter_schuetze
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: