GIS-1621 - Import importer from a different scope
This commit is contained in:
parent
390492bc53
commit
7e72b0522f
1 changed files with 4 additions and 4 deletions
|
|
@ -94,10 +94,6 @@ class ImportOptions {
|
|||
}
|
||||
}
|
||||
|
||||
ImportOptions getNewImportOptions(script) {
|
||||
return new ImportOptions(script)
|
||||
}
|
||||
|
||||
def artifactimportfrombuildjob(meta, ImportOptions importoptions, String destpath) {
|
||||
if (importoptions.source != 'Jenkins job artifact') {
|
||||
error("Import options settings have not been set for: Jenkins job artifact")
|
||||
|
|
@ -259,4 +255,8 @@ def artifactimport(meta,
|
|||
return artifactimport(meta, importoptions, destpath)
|
||||
}
|
||||
|
||||
ImportOptions getNewImportOptions() {
|
||||
return new ImportOptions(this)
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue