CopyArtifact (Jenkinsfile) - use with declarative pipelines

This commit is contained in:
s407323 2019-04-26 11:13:08 +02:00
parent e541ba6801
commit 0ad62dec49

10
Jenkinsfile vendored
View File

@ -6,5 +6,15 @@ pipeline {
echo 'Hello world!'
}
}
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 'Create_archive',
filter: "packages/infra*.zip",
target: 'Infra']);
}
}
}
}
}