Ensure script objects are around when source files have been cleaned
This commit is contained in:
parent
1e29bd5e2f
commit
10d0019fd4
1 changed files with 2 additions and 1 deletions
|
|
@ -32,9 +32,9 @@ pipeline {
|
|||
stage('Archiving artifacts') {
|
||||
steps {
|
||||
script {
|
||||
def artifactlist = meta.generateartifacts(['**/*'])
|
||||
def artifactarchiver = load("${autobuilder.commonscripts()}/artifacts/archiver.groovy")
|
||||
|
||||
def cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy")
|
||||
cleaner.clean(['meta', 'autobuild'])
|
||||
|
||||
dir(IMPORTS) {
|
||||
|
|
@ -48,6 +48,7 @@ pipeline {
|
|||
|
||||
cleaner.clean([IMPORTS])
|
||||
|
||||
def artifactlist = meta.generateartifacts(['**/*'])
|
||||
artifactarchiver.archive(meta, artifactlist)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue