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

Copy Artifact project name validation is incompatible with Cloudbees Template/Cloudbees Folders combination

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Cloudbees Template 4.x, Copy Artifact 1.30
    • Similar Issues:

      Description

      doCheckProjectName receives an AbstractItem. In a job template instance, this is the job template, which can have another parent (e.g. job template instance in a folder, the template it's based on outside that folder).

        Attachments

          Issue Links

            Activity

            Show
            danielbeck Daniel Beck added a comment - https://github.com/jenkinsci/copyartifact-plugin/pull/36
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
            http://jenkins-ci.org/commit/copyartifact-plugin/8c764432610fdc421de0f1aae8b3f05d3d35ec35
            Log:
            [FIXED JENKINS-22828] Expect an AbstractProject for input validation.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: src/main/java/hudson/plugins/copyartifact/CopyArtifact.java http://jenkins-ci.org/commit/copyartifact-plugin/8c764432610fdc421de0f1aae8b3f05d3d35ec35 Log: [FIXED JENKINS-22828] Expect an AbstractProject for input validation.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
            http://jenkins-ci.org/commit/copyartifact-plugin/59d7982cdd39db2bb3683eb6560cd7dfe1fab5e4
            Log:
            Merge pull request #36 from daniel-beck/JENKINS-22828

            [FIXED JENKINS-22828] Expect an AbstractProject for input validation.

            Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/4371497bf9d8...59d7982cdd39

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/hudson/plugins/copyartifact/CopyArtifact.java http://jenkins-ci.org/commit/copyartifact-plugin/59d7982cdd39db2bb3683eb6560cd7dfe1fab5e4 Log: Merge pull request #36 from daniel-beck/ JENKINS-22828 [FIXED JENKINS-22828] Expect an AbstractProject for input validation. Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/4371497bf9d8...59d7982cdd39
            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:
                danielbeck Daniel Beck
                Reporter:
                danielbeck Daniel Beck
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: