Details

    • Similar Issues:

      Description

      With supporting SimpleBuildStep introduced in Jenkins 1.577...

      (copied from https://github.com/jenkinsci/copyartifact-plugin/pull/43)
      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
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tfennelly Tom FENNELLY
                Reporter:
                ikedam ikedam
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: