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

Change VersionParameterDefinition to simply use property name as the parameter name

    XMLWordPrintable

Details

    Description

      It's confusing that the property name is not the same as parameter name.
      (This becomes especially painful when using ez-templates.)
      So why concating of group + artifact for the parameter name, and just use the name as the name.?

      Attachments

        Issue Links

          Activity

            tvail Tim Vail added a comment -

            I'd like this too. Keep in mind that changing this could break some other stuff that are, unfortunately, expecting the current setup.

            On the other hand, keeping it this way means that it doesn't look like it is possible to have a job that downloads two different versions of the same artifact.

            tvail Tim Vail added a comment - I'd like this too. Keep in mind that changing this could break some other stuff that are, unfortunately, expecting the current setup. On the other hand, keeping it this way means that it doesn't look like it is possible to have a job that downloads two different versions of the same artifact.
            drekbour Marc Carter added a comment -

            If we only consider only the interaction with ez-templates then JENKINS-43731 will introduce an ExtensionPoint allowing individual plugins to control their own templating. This means repository-connector-plugin can synchronise jobs with complete understanding of its own naming patterns.

            If this JIRA has not been implemented by the time the extension point is available, I will rename it and put in a PR

            drekbour Marc Carter added a comment - If we only consider only the interaction with ez-templates then JENKINS-43731 will introduce an ExtensionPoint allowing individual plugins to control their own templating. This means repository-connector-plugin can synchronise jobs with complete understanding of its own naming patterns. If this JIRA has not been implemented by the time the extension point is available, I will rename it and put in a PR
            jgangemi Jae Gangemi added a comment -

            fixed in 2.0.0, which will be released in the next few days. please be sure to check the plugin readme before upgrading so you are aware of incompatible changes.

            jgangemi Jae Gangemi added a comment - fixed in 2.0.0 , which will be released in the next few days. please be sure to check the plugin readme before upgrading so you are aware of incompatible changes.

            People

              jgangemi Jae Gangemi
              brantone Brantone
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: