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

List Subversion Tags default tag fails for Poll SCM trigger

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • None
    • svn plugin v2.5.7 or 2.5.3, Jenkins 1.643, ubuntu 14, jre 1.7.0_91-b02

      The List Subversion Tags default tag (e.g. "trunk") is not obeyed for Poll SCM trigger. Instead, the most recent tag from a manual build is used. This makes it unusable for the most natural use case: nightly triggered trunk rebuilds plus manual branch builds.

      Best workaround is terrible: trigger a rebuild on Success, with parameters to override tag:
      fail=t
      svn_tag=trunk

      Build script aborts with failure if fail=t, stopping the infinite build loop, but always leaving the job in a failed state. Ugh.

          [JENKINS-32582] List Subversion Tags default tag fails for Poll SCM trigger

          Can confirm: Jenkins 1.652, Subversion plugin 2.5.7, CentOS 7.2, JRE 1.8.0.71

          Tomalak Geret'kal added a comment - Can confirm: Jenkins 1.652, Subversion plugin 2.5.7, CentOS 7.2, JRE 1.8.0.71

          Tomalak Geret'kal added a comment - - edited

          This code change looks specifically relevant, except it was done in 2.5.5 and the issue information here says it's true in 2.5.3 too.

          https://github.com/jenkinsci/subversion-plugin/commit/5012326e8dc523e5e7706839b7853a86b1f3dce5

          Tomalak Geret'kal added a comment - - edited This code change looks specifically relevant, except it was done in 2.5.5 and the issue information here says it's true in 2.5.3 too. https://github.com/jenkinsci/subversion-plugin/commit/5012326e8dc523e5e7706839b7853a86b1f3dce5

          We're affected as well: Jenkins 1.647, Subversion plugin 2.7.1, Windows 7, JRE 1.8.0_101

          Stephan Walter added a comment - We're affected as well: Jenkins 1.647, Subversion plugin 2.7.1, Windows 7, JRE 1.8.0_101

          Still failing with Jenkins 2.71 and Subversion plugin 2.7.2.

          Tomalak Geret'kal added a comment - Still failing with Jenkins 2.71 and Subversion plugin 2.7.2.

          Same issue on Jenkins 2.164.1 and subversion plugin 2.12.1.

          Nenad Sladojevic added a comment - Same issue on Jenkins 2.164.1 and subversion plugin 2.12.1.

          I am still facing the same issue. Can anyone please help me on this?

           

          Regards,

          Charu

          Charulekha Rao added a comment - I am still facing the same issue. Can anyone please help me on this?   Regards, Charu

            Unassigned Unassigned
            glennwidener Glenn Widener
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: