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

Git Plugin fails to resolve tags containing a slash since 2.0.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • git-plugin
    • None

    Description

      Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" does not work anymore (rel/x.y.z-... in my case)

      I my case, a sepate job creates a release tag (refs/tags/rel/my-tag).

      The job that stopped to work tries to check out this given tag (using a parameter: so the branch field contains the value: rel/$version)

      Using git plugin 2.0.1, this works. Using git plugin 2.0.3 the checkout attempt results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job."

      Downgrading to 2.0.1 solves the problem.

      The problem has already been discussed in JENKINS-14026, but the applied fix only works for slash-less tags

      Attachments

        Issue Links

          Activity

            paux Stephan Pauxberger created issue -
            paux Stephan Pauxberger made changes -
            Field Original Value New Value
            Description Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" do not work anymore (rel/x.y.z-... in my case)

            Build results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job."

            Downgrading to 2.0.1 solves the problem.

            The problem has already been discussed in [JENKINS-14206], but the applied fix only works for slash-less tags


            Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" do not work anymore (rel/x.y.z-... in my case)

            Build results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job."

            Downgrading to 2.0.1 solves the problem.

            The problem has already been discussed in [JENKINS-14026], but the applied fix only works for slash-less tags


            paux Stephan Pauxberger made changes -
            Description Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" do not work anymore (rel/x.y.z-... in my case)

            Build results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job."

            Downgrading to 2.0.1 solves the problem.

            The problem has already been discussed in [JENKINS-14026], but the applied fix only works for slash-less tags


            Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" does not work anymore (rel/x.y.z-... in my case)

            Build results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job."

            Downgrading to 2.0.1 solves the problem.

            The problem has already been discussed in [JENKINS-14026], but the applied fix only works for slash-less tags


            paux Stephan Pauxberger made changes -
            Description Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" does not work anymore (rel/x.y.z-... in my case)

            Build results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job."

            Downgrading to 2.0.1 solves the problem.

            The problem has already been discussed in [JENKINS-14026], but the applied fix only works for slash-less tags


            Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" does not work anymore (rel/x.y.z-... in my case)

            I my case, a sepate job creates a release tag (refs/tags/rel/my-tag).

            The job that stopped to work tries to check out this given tag (using a parameter: so the branch field contains the value: rel/$version)

            Using git plugin 2.0.1, this works. Using git plugin 2.0.3 the checkout attempt results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job."

            Downgrading to 2.0.1 solves the problem.

            The problem has already been discussed in [JENKINS-14026], but the applied fix only works for slash-less tags


            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-21978 [ JENKINS-21978 ]
            penguin_brian Brian May made changes -
            Link This issue is duplicated by JENKINS-22186 [ JENKINS-22186 ]
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154029 ] JNJira + In-Review [ 207451 ]

            People

              ndeloof Nicolas De Loof
              paux Stephan Pauxberger
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: