2019-04-26 11:05:16 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
|
|
|
stage('Stage 1') {
|
|
|
|
steps {
|
|
|
|
echo 'Hello world!'
|
|
|
|
}
|
|
|
|
}
|
2019-04-26 11:13:08 +02:00
|
|
|
stage('Copy Archive') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
step ([$class: 'CopyArtifact',
|
|
|
|
projectName: 'Create_archive',
|
|
|
|
filter: "packages/infra*.zip",
|
|
|
|
target: 'Infra']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-26 11:05:16 +02:00
|
|
|
}
|
|
|
|
}
|