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

Copy Artifacts - Cloudbees folder issue

    XMLWordPrintable

Details

    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

          rsliotta Robert Liotta created issue -
          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

          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
          rsliotta Robert Liotta made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

          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

          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
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 173183 ] JNJira + In-Review [ 210196 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: