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

Copy Artifacts - Cloudbees folder issue

    Details

    • Similar Issues:

      Description

      Hello I have an issue that is described almost the same as this issue: JENKINS-32512 that was closed.

      The issue is as follows:

      Create a job in a folder. Call it testfolder/sourcebuild.
      Have this folder save an artifact.

      Case #1 - Works
      now create a job at the root, not in a folder. Call it getArt.
      Use the copyartifacts plugin.
      set the project name to testfolder/sourcebuild
      set the job# accordingly.
      Run job, works

      Case#2 - Does not work
      edit getArt
      Add a string variable bad - set it to testfolder/sourcebuild
      get the job# accordingly
      set the projectname to $bad or ${bad}.
      Run job. Cannot find source project.

      I also tried adding it as /testfolder/sourcebuild.

        Attachments

          Activity

          Hide
          rsliotta Robert Liotta added a comment -

          I found the issue and it WAS permissions..

          You might want to mention in the docs that in this case, the permission would need to allow /jobname

          Show
          rsliotta Robert Liotta added a comment - I found the issue and it WAS permissions.. You might want to mention in the docs that in this case, the permission would need to allow /jobname
          Hide
          petrikvandervelde Petrik van der Velde added a comment -

          Can you be more specific to what the permissions issues where? I'm running into this at the moment and following the documentation online is not getting me anywhere

          Show
          petrikvandervelde Petrik van der Velde added a comment - Can you be more specific to what the permissions issues where? I'm running into this at the moment and following the documentation online is not getting me anywhere

            People

            • Assignee:
              Unassigned
              Reporter:
              rsliotta Robert Liotta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: