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

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

    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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: