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

Copy artifacts from project using a variable and cloudbees folder plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • copyartifact-plugin
    • None
    • Jenkins 1.619
      Copy artifact plugin: 1.37
      Cloud bee's Folder Plugin: 5.1

      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.

            ikedam ikedam
            tobiashieta tobias hieta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: