Add a default archiver
This commit is contained in:
parent
721375a968
commit
276381321f
1 changed files with 16 additions and 0 deletions
16
artifacts/archiver.groovy
Normal file
16
artifacts/archiver.groovy
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
enum ArchiverStore {
|
||||
JENKINS,
|
||||
ARTIFACTSERVER,
|
||||
}
|
||||
|
||||
def archiveArtifacts(artifactlist, ArchiverStore store = JENKINS ) {
|
||||
if (store == JENKINS) {
|
||||
archiveArtifacts(artifactlist)
|
||||
}
|
||||
}
|
||||
|
||||
this.JENKINS = JENKINS
|
||||
this.ARTIFACTSERVER = ARTIFACTSERVER
|
||||
|
||||
return this
|
||||
Loading…
Add table
Add a link
Reference in a new issue