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

CopyArchiver Plugin: Support multiple artifact /shared directory

    XMLWordPrintable

Details

    Description

      It would be convenient to have ability to collect different artifacts to different directories.

      E.g. I want to put log files (*.log) into share/logs/, and binaries (*.bin) into share/bin/.

      Currently I have to create multiple jobs for doing this.

      Attachments

        Activity

          rutsky rutsky added a comment - - edited

          Updated report text: Did't know that there is some markup in message text, removed bold text.

          rutsky rutsky added a comment - - edited Updated report text: Did't know that there is some markup in message text, removed bold text.

          I too used directories for grouping artifacts in cruise-control (like tests/, jars/, logs/, ...) - now I'm migrating to Jenkins.
          I do have a separate job for tests but can't really group the other artifacts nicely.

          One dir contained a nice html file with subdir that contained some images (making me able to just click on that to see nice content) - this is not nicely useable if I pack it. I want to be able to specify "archive this dir".

          So just make the "Files to archive" be "Files/folders to archive" (I did expect this to work already) or make a separate field for "Folder to archive". Those contents should be hierarchically presented in artifacts + relative contents within dirs should be consistent with relative download URLs (so that what I mentioned before with html can work). For example "[jenkins_download_URL]/my_archived_dir/img.gif" should be the URL to access file img.gif that was inside the archived dir "my_archived_dir".

          Until this gets implemented I will try to see if using the "Archived Artifact Url Viewer PlugIn" helps.

          costescuandrei Andrei Costescu added a comment - I too used directories for grouping artifacts in cruise-control (like tests/, jars/, logs/, ...) - now I'm migrating to Jenkins. I do have a separate job for tests but can't really group the other artifacts nicely. One dir contained a nice html file with subdir that contained some images (making me able to just click on that to see nice content) - this is not nicely useable if I pack it. I want to be able to specify "archive this dir". So just make the "Files to archive" be "Files/folders to archive" (I did expect this to work already) or make a separate field for "Folder to archive". Those contents should be hierarchically presented in artifacts + relative contents within dirs should be consistent with relative download URLs (so that what I mentioned before with html can work). For example " [jenkins_download_URL] /my_archived_dir/img.gif" should be the URL to access file img.gif that was inside the archived dir "my_archived_dir". Until this gets implemented I will try to see if using the "Archived Artifact Url Viewer PlugIn" helps.

          People

            gbois Gregory Boissinot
            rutsky rutsky
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: