Add a default archiver
This commit is contained in:
parent
a301529e37
commit
8d3afbb8cb
1 changed files with 5 additions and 2 deletions
|
|
@ -4,8 +4,11 @@ enum ArchiverStore {
|
|||
ARTIFACTSERVER,
|
||||
}
|
||||
|
||||
def archiveArtifacts(artifactlist, ArchiverStore store = ArchiverStore.JENKINS ) {
|
||||
if (store == ArchiverStore.JENKINS) {
|
||||
this.JENKINS = ArchiverStore.JENKINS
|
||||
this.ARTIFACTSERVER = ArchiverStore.JENKINS
|
||||
|
||||
def archiveArtifacts(artifactlist, ArchiverStore store = JENKINS ) {
|
||||
if (store == JENKINS) {
|
||||
archiveArtifacts(artifactlist)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue