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

      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.

          [JENKINS-23444] Copy Artifact doesn't fail when only some of the defined artifacts are successfully copied

          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).

          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).

          ikedam added a comment -

          ikedam added a comment - https://github.com/jenkinsci/copyartifact-plugin/pull/42

          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.

          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.

          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

          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

          ikedam added a comment -

          Released the fix in copyartifact 1.31.

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

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

              Created:
              Updated:
              Resolved: