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

Copy Artifact doesn't fail when only some of the defined artifacts are successfully copied

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When copy artifact is configured to copy multiple artifacts from a specific job and Optional is set to false, the copying is marked successful when only some of the artifacts are found.

      Example:
      Copy artifact is supposed to copy artifacts file1.txt,file2.txt,file*.zip. However, only artifacts file3.zip and file4.zip are found from the specified job; Copy Artifact is marked as successful.

        Attachments

          Activity

          Hide
          ikedam ikedam added a comment -

          "Artifacts to copy" works just as a filter.
          This is a bug of the text (the field title, the help text).

          Show
          ikedam ikedam added a comment - "Artifacts to copy" works just as a filter. This is a bug of the text (the field title, the help text).
          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/copyartifact-plugin/pull/42
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_de.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_ja.html
          http://jenkins-ci.org/commit/copyartifact-plugin/247eae82eb71a92cd98c5e7cd0216cab380bc4d6
          Log:
          [FIXED JENKINS-23444] Fixed inproper help texts of filter. Copyartifact doesn't fail even specified files don't really exist.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter.html src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_de.html src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_ja.html http://jenkins-ci.org/commit/copyartifact-plugin/247eae82eb71a92cd98c5e7cd0216cab380bc4d6 Log: [FIXED JENKINS-23444] Fixed inproper help texts of filter. Copyartifact doesn't fail even specified files don't really exist.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/hudson/plugins/copyartifact/Copier.java
          src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
          src/main/java/hudson/plugins/copyartifact/FilePathCopyMethod.java
          src/main/java/hudson/plugins/copyartifact/FingerprintingCopyMethod.java
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/config.jelly
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/config_ja.properties
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-excludes.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-excludes_ja.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_de.html
          src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_ja.html
          src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
          http://jenkins-ci.org/commit/copyartifact-plugin/13282b4c62a11477ad6451030bd692560e858304
          Log:
          Merge pull request #42 from ikedam/feature/JENKINS-14900_Excludes

          JENKINS-14900 JENKINS-18662 JENKINS-23444 Fixes for filter.

          Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/e894206e94ca...13282b4c62a1

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/copyartifact/Copier.java src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/FilePathCopyMethod.java src/main/java/hudson/plugins/copyartifact/FingerprintingCopyMethod.java src/main/resources/hudson/plugins/copyartifact/CopyArtifact/config.jelly src/main/resources/hudson/plugins/copyartifact/CopyArtifact/config_ja.properties src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-excludes.html src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-excludes_ja.html src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter.html src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_de.html src/main/resources/hudson/plugins/copyartifact/CopyArtifact/help-filter_ja.html src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java http://jenkins-ci.org/commit/copyartifact-plugin/13282b4c62a11477ad6451030bd692560e858304 Log: Merge pull request #42 from ikedam/feature/ JENKINS-14900 _Excludes JENKINS-14900 JENKINS-18662 JENKINS-23444 Fixes for filter. Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/e894206e94ca...13282b4c62a1
          Hide
          ikedam ikedam added a comment -

          Released the fix in copyartifact 1.31.

          Show
          ikedam ikedam added a comment - Released the fix in copyartifact 1.31.

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              oltzu Olli Sivonen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: