jenkinsci/copyartifact-plugin — pull request #43 by tfennelly (2014-08-28 08:16:09+00:00)
Title: [WIP] Workflow build step

Changes to allow the plugin be used in a Workflow. In particular... look for `TODO` markers in the changes I made. These were things I was not sure about.

Atm it works using the base 'step' step (i.e. you need to specify the $class) e.g.
```
node('master') {
// Do stuff....
step($class: 'hudson.plugins.copyartifact.CopyArtifact', projectName: 'project1', filter: 'hellothere.txt')
// More stuff
}
```

Once the workflow apis are published (?) we can build a dedicated step for this, it would look something like the following:
```
node('master') {
// Do stuff....
copy(projectName: 'project1', filter: 'hellothere.txt')
// More stuff
}
```