Create a meta folder seperate from other artifacts
This commit is contained in:
parent
db14e8e766
commit
9e6e594dfe
1 changed files with 15 additions and 12 deletions
|
|
@ -8,7 +8,7 @@ def conditionalclean(doclean = "${CLEAN_WORKSPACE}" == "true") {
|
|||
if (doclean) {
|
||||
echo "Cleaning workspace"
|
||||
// Save any script files that were loaded into the workspace at first and are required after cleaning the workspace
|
||||
stash allowEmpty: true, includes: 'autobuild/**/*', name: 'Clean workspace stash', useDefaultExcludes: false
|
||||
stash allowEmpty: true, includes: 'autobuild/**', name: 'Clean workspace stash', useDefaultExcludes: false
|
||||
cleanWs()
|
||||
unstash name: 'Clean workspace stash'
|
||||
}
|
||||
|
|
@ -17,21 +17,6 @@ def conditionalclean(doclean = "${CLEAN_WORKSPACE}" == "true") {
|
|||
}
|
||||
}
|
||||
|
||||
// Start up boilderplate
|
||||
def start(autobuildpath = "${WORKSPACE}/autobuild", commonscriptspath = "${autobuildroot}/Common_scripts") {
|
||||
echo "Starting...."
|
||||
|
||||
autobuildroot = autobuildpath
|
||||
commonscriptsroot = commonscriptspath
|
||||
|
||||
conditionalclean()
|
||||
|
||||
lineendings = load("${commonscriptsroot}/platform/lineendings.groovy")
|
||||
|
||||
def ch = load("${commonscriptsroot}/configuration/configuration.groovy")
|
||||
ch.registerPipelineScriptConfiguration()
|
||||
}
|
||||
|
||||
def commonscripts() {
|
||||
return commonscriptsroot
|
||||
}
|
||||
|
|
@ -40,6 +25,24 @@ def getautobuildpath() {
|
|||
return autobuildroot
|
||||
}
|
||||
|
||||
// Start up boilderplate
|
||||
def start(autobuildpath = autobuildroot, commonscriptspath = commonscriptsroot {
|
||||
echo "Starting...."
|
||||
|
||||
autobuildroot = autobuildpath
|
||||
commonscriptsroot = commonscriptspath
|
||||
|
||||
conditionalclean()
|
||||
|
||||
def metafolder = load("${commonscripts()}/meta/folder.groovy")
|
||||
metafolder.metareset()
|
||||
|
||||
def lineendings = load("${commonscripts()}/platform/lineendings.groovy")
|
||||
|
||||
def ch = load("${commonscripts()}/configuration/configuration.groovy")
|
||||
ch.registerPipelineScriptConfiguration()
|
||||
}
|
||||
|
||||
def configurationhelper() {
|
||||
return load("${commonscripts()}/configuration/configuration.groovy")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue