• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Windows 2008 R2
      java 1.6.0_26-b03
      Jenkins 1.467

      I am currently using the artifactDeployer (0.13) to transfer a successful build to a shared folder, where it can be retained indefinitely. This works well, however each file transferred is listed with a link, and this list is quite long. It would be useful to display a single link to the remote directory, or perhaps a subset of files transferred (perhaps via regex).

          [JENKINS-14681] Constrain the list of artifacts deployed

          In most cases, the full path need to be displayed because if you have 2 same file names in two distinct directory, we have need to distinguish them.

          However, displaying only the 10 first deployed files or providing an another option to not displayed the deployed artifacts is possible.

          Do you have a print screen in your context in order I look how it is displayed?

          Gregory Boissinot added a comment - In most cases, the full path need to be displayed because if you have 2 same file names in two distinct directory, we have need to distinguish them. However, displaying only the 10 first deployed files or providing an another option to not displayed the deployed artifacts is possible. Do you have a print screen in your context in order I look how it is displayed?

          Bill Packard added a comment - - edited

          Attached screenshot of top section of list. Entries from the log below.

          01:47:24 [ArtifactDeployer] - Starting deployment from the post-action ...
          01:50:17 [ArtifactDeployer] - 1461 file(s) have been copied from the workspace to '\\fileserver\Public

          I am looking into reducing the number of items deployed, but at the moment there are too many to be usefully listed. What I am actually looking for is a way to display a specific subset, not just the top of the list. This is definitely a special case, probably not a general use item.

          Bill Packard added a comment - - edited Attached screenshot of top section of list. Entries from the log below. 01:47:24 [ArtifactDeployer] - Starting deployment from the post-action ... 01:50:17 [ArtifactDeployer] - 1461 file(s) have been copied from the workspace to '\\fileserver\Public I am looking into reducing the number of items deployed, but at the moment there are too many to be usefully listed. What I am actually looking for is a way to display a specific subset, not just the top of the list. This is definitely a special case, probably not a general use item.

          Providing the ability to display only a subset of the deployed artifacts according a regular expression is the best solution.

          Do you want to try to provide this feature by yourself?
          It could be a good opportunity to contribute to Jenkins for you.

          Gregory Boissinot added a comment - Providing the ability to display only a subset of the deployed artifacts according a regular expression is the best solution. Do you want to try to provide this feature by yourself? It could be a good opportunity to contribute to Jenkins for you.

          Bill Packard added a comment -

          I have been avoiding attempting to build a plugin for some time now, I'll see if I can make the time to try it out.

          Bill Packard added a comment - I have been avoiding attempting to build a plugin for some time now, I'll see if I can make the time to try it out.

          Do you have visibility to your schedule for achieving this feature?
          Thanks in advance.

          Gregory Boissinot added a comment - Do you have visibility to your schedule for achieving this feature? Thanks in advance.

          This issue is relative to JENKINS-16130.
          I made a dedicated page for Deployed artifacts.

          Gregory Boissinot added a comment - This issue is relative to JENKINS-16130 . I made a dedicated page for Deployed artifacts.

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuildAction.java
          src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuilder.java
          src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerProjectAction.java
          src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java
          src/main/java/org/jenkinsci/plugins/artifactdeployer/DeployedArtifacts.java
          src/main/java/org/jenkinsci/plugins/artifactdeployer/DeployedArtifactsResult.java
          src/main/java/org/jenkinsci/plugins/artifactdeployer/migration/DeployedArtifactsMigrationItemListener.java
          src/main/java/org/jenkinsci/plugins/artifactdeployer/service/DeployedArtifactsActionManager.java
          src/main/resources/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuildAction/summary.jelly
          src/main/resources/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerProjectAction/jobMain.jelly
          src/main/resources/org/jenkinsci/plugins/artifactdeployer/DeployedArtifacts/summary.jelly
          src/main/resources/org/jenkinsci/plugins/artifactdeployer/DeployedArtifactsResult/index.jelly
          src/main/resources/org/jenkinsci/plugins/artifactdeployer/Messages.properties
          http://jenkins-ci.org/commit/artifactdeployer-plugin/fc467016194911f57a8daa82023694d7c3698b66
          Log:
          Fix JENKINS-16130 and JENKINS-14681

          Compare: https://github.com/jenkinsci/artifactdeployer-plugin/compare/bd7212bfcf87...fc4670161949

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuildAction.java src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuilder.java src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerProjectAction.java src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java src/main/java/org/jenkinsci/plugins/artifactdeployer/DeployedArtifacts.java src/main/java/org/jenkinsci/plugins/artifactdeployer/DeployedArtifactsResult.java src/main/java/org/jenkinsci/plugins/artifactdeployer/migration/DeployedArtifactsMigrationItemListener.java src/main/java/org/jenkinsci/plugins/artifactdeployer/service/DeployedArtifactsActionManager.java src/main/resources/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuildAction/summary.jelly src/main/resources/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerProjectAction/jobMain.jelly src/main/resources/org/jenkinsci/plugins/artifactdeployer/DeployedArtifacts/summary.jelly src/main/resources/org/jenkinsci/plugins/artifactdeployer/DeployedArtifactsResult/index.jelly src/main/resources/org/jenkinsci/plugins/artifactdeployer/Messages.properties http://jenkins-ci.org/commit/artifactdeployer-plugin/fc467016194911f57a8daa82023694d7c3698b66 Log: Fix JENKINS-16130 and JENKINS-14681 Compare: https://github.com/jenkinsci/artifactdeployer-plugin/compare/bd7212bfcf87...fc4670161949

            gbois Gregory Boissinot
            bill_packard Bill Packard
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: