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

svn-tag-plugin does not expand module locations that include parameter references

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The svn-tag-plugin fails creating tags for module locations that have parameter references in their path,

      e.g. svn://${base-url}/${branch}/${component}@${revision}

      will fail since the svn-tag-plugin uses scm.getLocations() instead of passing in the AbstractBuild instance
      so that module locations will be expanded correctly.

      A provable patch would be to (@current master) apply the following change to SvnTagPlugin.java

      99 SubversionSCM.ModuleLocation[] moduleLocations = scm.getLocations();

      to

      99 SubversionSCM.ModuleLocation[] moduleLocations = scm.getLocations(abstractBuild);

        Attachments

        1. patch
          0.8 kB
        2. patch.diff
          14 kB

          Activity

          cklein Carsten Klein created issue -
          cklein Carsten Klein made changes -
          Field Original Value New Value
          Attachment patch [ 20609 ]
          cklein Carsten Klein made changes -
          Attachment patch.diff [ 20610 ]
          k2nakamura k2nakamura made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          k2nakamura k2nakamura made changes -
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 140516 ] JNJira + In-Review [ 189100 ]

            People

            Assignee:
            k2nakamura k2nakamura
            Reporter:
            cklein Carsten Klein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: