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

Parameterized project name does not work with Jenkins 1.399

    Details

    • Similar Issues:

      Description

      The copy artifact plugin does not seem to work if the project name is specified in a build parameter. For example, I receive the following error in then Jenkins build console:

      Started by upstream project "MyProject Nightly" build number 209
      ...........
      Unable to find project for artifact copy: MyProject Nightly/com.project.install$ProjectDistribution/

      Here I am trying to copy the artifacts from the MyProject Nightly job. Within the Copy Artifact configuration, I have the word "Nightly" in a build parameter like so:

      MyProject $SOURCE_PROJECT/com.project.install$ProjectDistribution/

      From the above log, you can see that the substitution is being made correctly, as the error message says the same build name as the triggering project. However this build fails because it says it cannot find the project. If I remove the parameter and configure the plugin like so:

      MyProject Nightly/com.project.install$ProjectDistribution/

      it works fine. The error only occurs when using a build parameter.

        Attachments

          Activity

          gms5002 Greg Snyder created issue -
          mindless Alan Harder made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          mindless Alan Harder made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 139113 ] JNJira + In-Review [ 188343 ]
          ikedam ikedam made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              gms5002 Greg Snyder
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: