From a1340ea0eb50d5515a52ddc380258c1073b05c76 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Tue, 30 Nov 2021 21:23:58 +0000 Subject: [PATCH] Provide specific parameter names appropriate to type of post build job being called --- build/postactions.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/postactions.groovy b/build/postactions.groovy index 2a0b0fd..8b18908 100644 --- a/build/postactions.groovy +++ b/build/postactions.groovy @@ -121,8 +121,8 @@ def performSuccessfulBuildActions() { def String buildselector = "${BUILD_NUMBER}" deployjob(buildselector, postbuildactions, 'Deploy documentation', 'DOXYGEN_DEPLOY_JOB', 'BUILD_JOB_WITH_DOXYGEN_ARTIFACTS', 'BUILD_JOB_WITH_DOXYGEN_ARTIFACTS_SELECTOR') deployjob(buildselector, postbuildactions, 'Static analysis', 'STATIC_ANALYSIS_JOB', 'BUILD_JOB_TO_ANALYSE', 'BUILD_JOB_TO_ANALYSE_SELECTOR' ) - deployjob(buildselector, postbuildactions, 'Unit test', 'UNIT_TEST_JOB', 'BUILD_JOB_TO_TEST', 'BUILD_JOB_TEST_SELECTOR') - deployjob(buildselector, postbuildactions, 'Regression test', 'REGRESSION_TEST_JOB', 'BUILD_JOB_TO_TEST', 'BUILD_JOB_TEST_SELECTOR') + deployjob(buildselector, postbuildactions, 'Unit test', 'UNIT_TEST_JOB', 'BUILD_JOB_TO_TEST', 'BUILD_JOB_TO_TEST_SELECTOR') + deployjob(buildselector, postbuildactions, 'Regression test', 'REGRESSION_TEST_JOB', 'BUILD_JOB_TO_TEST', 'BUILD_JOB_TO_TEST_SELECTOR') deployjob(buildselector, postbuildactions, 'Update differences', 'DIFF_JOB', 'LATER_BUILD_JOB', 'LATER_BUILD_SELECTOR') deployjob(buildselector, postbuildactions, 'Release to git', 'RELEASE_TO_GIT_JOB', 'BUILD_JOB', 'BUILD_JOB_SELECTOR') }