CopyArtifact (Jenkinsfile) - use with declarative pipelines
This commit is contained in:
parent
e541ba6801
commit
0ad62dec49
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user