Type parameters to archive method

This commit is contained in:
Dan Hawkins 2021-12-18 20:38:30 +00:00
commit 8e53968fbd

View file

@ -6,7 +6,7 @@ enum Store {
this.JENKINS = Store.JENKINS
this.ARTIFACTSERVER = Store.JENKINS
def archive(meta, artifactlist, Store store = JENKINS ) {
def archive(MetaInfo meta, String artifactlist, Store store = JENKINS) {
echo "Archiving artifacts to store: ${store}"
meta.copyrelatedmeta()
if (store == JENKINS) {