From 09154e93c2e349d862e1ae65b5b1c4509b50c929 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Mon, 20 Jan 2020 10:53:36 +0000 Subject: [PATCH 1/3] Make release script use new API --- release/release.groovy | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/release/release.groovy b/release/release.groovy index 79c0234..88c4e7b 100644 --- a/release/release.groovy +++ b/release/release.groovy @@ -4,8 +4,7 @@ pipeline { stage('Initial setup') { steps { script { - autobuilderscript = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy") - meta = autobuilderscript.start(this, PRODUCT_NAME, SUBCOMPONENT_NAME, JIRA_KEY, RELEASE_REPO) + meta = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy").startbuild(this, PRODUCT_NAME, SUBCOMPONENT_NAME, RELEASE_REPO) } } } @@ -86,4 +85,3 @@ pipeline { } } } - From d8b38d9d0c4633bccba3fd8ae493c3f26e062156 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Mon, 20 Jan 2020 11:04:14 +0000 Subject: [PATCH 2/3] Make release script use new API --- release/release.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/release/release.groovy b/release/release.groovy index 88c4e7b..e51a174 100644 --- a/release/release.groovy +++ b/release/release.groovy @@ -4,7 +4,8 @@ pipeline { stage('Initial setup') { steps { script { - meta = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy").startbuild(this, PRODUCT_NAME, SUBCOMPONENT_NAME, RELEASE_REPO) + autobuilderscript = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy") + meta = autobuilderscript.startbuild(this, PRODUCT_NAME, SUBCOMPONENT_NAME, RELEASE_REPO) } } } From d48825be597273ee8e3ff2208ef4ce401d19801c Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Wed, 22 Jan 2020 14:48:32 +0000 Subject: [PATCH 3/3] Use non-deprecated API --- publish/publish.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish/publish.groovy b/publish/publish.groovy index 5750275..7beb134 100644 --- a/publish/publish.groovy +++ b/publish/publish.groovy @@ -5,7 +5,7 @@ pipeline { steps { script { autobuilderscript = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy") - meta = autobuilderscript.start(this, PRODUCT_NAME, SUBCOMPONENT_NAME, JIRA_KEY, RELEASE_REPO) + meta = autobuilderscript.startbuild(this, PRODUCT_NAME, SUBCOMPONENT_NAME, RELEASE_REPO) } } }