Condense autobuild startup boilerplate
This commit is contained in:
parent
9403f706ab
commit
3f3ee1c709
2 changed files with 5 additions and 1 deletions
|
|
@ -34,6 +34,10 @@ def commonscripts() {
|
|||
return commonscriptsroot
|
||||
}
|
||||
|
||||
def getautobuildpath() {
|
||||
return autobuildroot
|
||||
}
|
||||
|
||||
def configurationhelper() {
|
||||
return load("${commonscripts()}/configuration/configuration.gsh")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ def registerConfigurationInfo(String configurationName, String configurationURL,
|
|||
}
|
||||
|
||||
def registerPipelineScriptConfiguration() {
|
||||
registerConfigurationInfo('pipeline script', '-', '-', gh.getGitInfo("${AUTOBUILD_SCRIPTS}"))
|
||||
registerConfigurationInfo('pipeline script', '-', '-', gh.getGitInfo("${autobuilder.getautobuildpath()}"))
|
||||
}
|
||||
|
||||
def saveConfigurationInVersionInfo() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue