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

Build parameters are not expanded for artifactId

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      When attempting to pass a parameter to artifactId an error message appears:

      No versions could be resolved for groupid.artifactid gov.nasa.msfc.dctm.${foo}

      I am attempting to obtain the version of a Nexus artifact. It works fine when I use a hard coded value.

      This is understandable since the parameter hasn't been resolved yet,however, it also fails during the build. I debated making this a new feature but parameters seems to work in other places so I suspected it was just an oversight.

      The problem is that if this can't be parameterized it breaks a job that could otherwise be reusable and forces me to build a separate job for each application.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mfaine Mark Faine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: