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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • svn-tag-plugin
    • None

      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);

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

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

              Created:
              Updated:
              Resolved: