GIS-1621 - Try to stop jenkins crash - Seperate importoptions class into its own file
This commit is contained in:
parent
63be27007d
commit
ab0d0d5ae0
1 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ def rewritemetafileasreleased(meta, String filepath) {
|
|||
meta.saveJsonSerialised(filepath)
|
||||
}
|
||||
|
||||
def hierarchyartifactimportfromrepo(meta, ImportOptions importoptions, String destpath) {
|
||||
def hierarchyartifactimportfromrepo(meta, io.ImportOptions importoptions, String destpath) {
|
||||
if (importoptions.m_source != 'Release repository') {
|
||||
error("Import options settings have not been set for: Release repository")
|
||||
return
|
||||
|
|
@ -76,7 +76,7 @@ def hierarchyartifactimportfromrepo(meta, ImportOptions importoptions, String de
|
|||
return importedmeta
|
||||
}
|
||||
|
||||
def artifactimportfromrepo(meta, ImportOptions importoptions, String destpath) {
|
||||
def artifactimportfromrepo(meta, io.ImportOptions importoptions, String destpath) {
|
||||
if (importoptions.m_source != 'Release repository') {
|
||||
error("Import options settings have not been set for: Release repository")
|
||||
return
|
||||
|
|
@ -102,7 +102,7 @@ def artifactimportfromrepo(meta, ImportOptions importoptions, String destpath) {
|
|||
return importedmeta
|
||||
}
|
||||
|
||||
def artifactimport(meta, ImportOptions importoptions, String destpath) {
|
||||
def artifactimport(meta, io.ImportOptions importoptions, String destpath) {
|
||||
switch (importoptions.m_source) {
|
||||
case 'Jenkins job artifact':
|
||||
case 'Jenkins job artefact':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue