diff --git a/autobuilder.groovy b/autobuilder.groovy index a91a46c..a8d418d 100644 --- a/autobuilder.groovy +++ b/autobuilder.groovy @@ -43,16 +43,16 @@ def alterreleaserepo(String releaserepo, String releaserepovariantsuffix) { return altered } -// Start up boilderplate +// Start up boilerplate def startbuild( - script, - String productname = PRODUCT_NAME, - String subcomponentname = SUBCOMPONENT_NAME, - String releaserepo = RELEASE_REPO, - String productvariant = '', - String autobuildpath = autobuildroot, - String commonscriptspath = commonscriptsroot - ) { + script, + String productname = PRODUCT_NAME, + String subcomponentname = SUBCOMPONENT_NAME, + String releaserepo = RELEASE_REPO, + String productvariant = '', + String autobuildpath = autobuildroot, + String commonscriptspath = commonscriptsroot + ) { echo "Starting...." autobuildroot = autobuildpath @@ -82,25 +82,25 @@ def startbuild( // DEPRECATED Metod, Use StartBuild Instead. def start( - script, - String productname = PRODUCT_NAME, - String subcomponentname = SUBCOMPONENT_NAME, - String jirakey = JIRA_KEY, - String releaserepo = RELEASE_REPO, - String repoRootSuffix = "", - String autobuildpath = autobuildroot, - String commonscriptspath = commonscriptsroot - ) { + script, + String productname = PRODUCT_NAME, + String subcomponentname = SUBCOMPONENT_NAME, + String jirakey = JIRA_KEY, + String releaserepo = RELEASE_REPO, + String repoRootSuffix = "", + String autobuildpath = autobuildroot, + String commonscriptspath = commonscriptsroot + ) { echo "DEPRECATED method: start(script, String productname = PRODUCT_NAME, subcomponentname = SUBCOMPONENT_NAME, jirakey = JIRA_KEY, ...)" return startbuild(script, productname, subcomponentname, releaserepo, autobuildpath, commonscriptspath) } // Start up boilderplate def startnonbuild( - script, - autobuildpath = autobuildroot, - commonscriptspath = commonscriptsroot - ) { + script, + autobuildpath = autobuildroot, + commonscriptspath = commonscriptsroot + ) { echo "Starting non-build job...." autobuildroot = autobuildpath