Force item copier workspace to be cleaned each time
This commit is contained in:
parent
5575f2bd18
commit
1e29bd5e2f
1 changed files with 3 additions and 12 deletions
|
|
@ -4,27 +4,18 @@ pipeline {
|
|||
stage('Initial setup') {
|
||||
steps {
|
||||
script {
|
||||
// Force workspace to be cleaned
|
||||
CLEAN_WORKSPACE = "true"
|
||||
meta = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy").startnonbuild(this)
|
||||
|
||||
importer = load("${autobuilder.commonscripts()}/import/importer.groovy")
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Clean exports') {
|
||||
steps {
|
||||
script {
|
||||
IMPORTS = 'imports'
|
||||
cleanfolders = [
|
||||
IMPORTS,
|
||||
]
|
||||
cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy")
|
||||
cleaner.clean(cleanfolders)
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Import source artifacts') {
|
||||
steps {
|
||||
script {
|
||||
IMPORTS = 'imports'
|
||||
def copyoptions = importer.getNewImportOptions()
|
||||
copyoptions.source(
|
||||
SOURCE_ARTIFACT_LOCATION,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue