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

Copyartifact doesn't work with Workflow's snippet generator.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
    • Environment:
      copyartifact-1.35
    • Similar Issues:

      Description

      You can test the behavior of the snippet generator in a following way:

      • Create a new workflow project
      • Select "Groovy CPS DSL" in Definition for Workflow
      • Check "Snippet generator"
      • Select "General Build Step" for "Sample Step"
      • Select "Copy artifacts from another project" for "Build Step"
      • Configure copyartifact, and click "Generate Groovy"

      Result:

      • The validation for "Project name" fails with NPE.
      • The generated result is
        ```
        step <object of type hudson.plugins.copyartifact.CopyArtifact>
        ```

        Attachments

          Activity

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              ikedam ikedam
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: