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

Build parameters are not expanded for artifactId

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • 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

          mfaine Mark Faine created issue -
          jgangemi Jae Gangemi made changes -
          Field Original Value New Value
          Assignee Jae Gangemi [ jgangemi ]
          jgangemi Jae Gangemi made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: