Copy artifacts from project using a variable and cloudbees folder plugin

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      We have a deployment job that runs after some of our other build jobs, currently we have a very complicated setup where we need to add a conditional build step with the copy artifact plugin for each job that triggers the deployer. This is very suboptimal and a huge PITA to maintain. We wanted to make sure that we could dynamically trigger the the copy from the upstream project, this doesn't seem to be available (as far as I have found at least?) The next best thing was to use the parameterised build and set the name of the upstream job in a variable and then use that variable in the copy artifact plugin.

      This works fine as long as the upstream job is not in a Folder from the cloud bee's plugin. If the project is in a folder it never finds the project. I have tried specifying the project name by the same syntax as I use otherwise : Folder/Job.

      To me it seems like maybe the variables are escaped in a different way?

      Hope this can be fixed since it would make our setup much nicer.

            Assignee:
            ikedam
            Reporter:
            tobias hieta
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: