diff --git a/copy/all.groovy b/copy/all.groovy index ea56044..5bf9590 100644 --- a/copy/all.groovy +++ b/copy/all.groovy @@ -15,7 +15,6 @@ pipeline { stage('Import source artifacts') { steps { script { - IMPORTS = 'imports' def copyoptions = importer.getNewImportOptions() copyoptions.source( SOURCE_ARTIFACT_LOCATION, @@ -25,7 +24,7 @@ pipeline { SOURCE_ARTIFACT_RELEASE_REVISION) echo "Nested: ${NESTED_COPY}" copyoptions.setnested(NESTED_COPY == 'true') - importer.artifactimport(meta, copyoptions, IMPORTS) + importer.artifactimport(meta, copyoptions, WORKSPACE) } } } @@ -37,17 +36,6 @@ pipeline { def cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy") cleaner.clean(['meta', 'autobuild']) - dir(IMPORTS) { - fileOperations([ - fileCopyOperation(excludes: '', - flattenFiles: false, - includes: '**/*', - targetLocation: WORKSPACE) - ]) - } - - cleaner.clean([IMPORTS]) - def artifactlist = meta.generateartifacts(['**/*']) artifactarchiver.archive(meta, artifactlist) }