pipeline { agent any stages { stage('Stage 1') { steps { echo 'Hello world!' } } stage('Copy Archive') { steps { script { step ([$class: 'CopyArtifact', projectName: 'Create_archive', filter: "packages/infra*.zip", target: 'Infra']); } } } } }