(current feature)
      Copyartifact 1.34 introduced integration with workflow plugin.
      You can use copyartifact in workflow jobs like this:

      step([
        $class: 'CopyArtifact', projectName: 'test', filter: '**/*',
        selector: [$class: 'StatusBuildSelector', stable: false]
      ])
      

      (expected improvement)
      Workflow plugin provides plugins a way to define its own step functions like this:

      copyartifact projectName: 'test', filter: '**/*', selector: [$class: 'StatusBuildSelector', stable: false]
      

          [JENKINS-31247] Copyartifact: more integration with workflow

          ikedam created issue -
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-29922 [ JENKINS-29922 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 166497 ] New: JNJira + In-Review [ 182399 ]
          Andrew Bayer made changes -
          Labels Original: workflow New: pipeline workflow
          Andrew Bayer made changes -
          Labels Original: pipeline workflow New: pipeline
          ikedam made changes -
          Link New: This issue is related to JENKINS-46700 [ JENKINS-46700 ]
          ikedam made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          ikedam made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Unassigned Unassigned
            ikedam ikedam
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: