From 92906122b874e1b344787ecdbce62a6d41fddb05 Mon Sep 17 00:00:00 2001 From: Scott Fryer Date: Wed, 22 Jan 2025 18:01:10 +0000 Subject: [PATCH] Fix parameters & typo --- linux_new/Jenkinsfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/linux_new/Jenkinsfile b/linux_new/Jenkinsfile index 2629bd342..947b9bc95 100644 --- a/linux_new/Jenkinsfile +++ b/linux_new/Jenkinsfile @@ -250,6 +250,14 @@ pipeline { booleanParam(name: 'REPACKAGE', defaultValue: false, description: 'Tick if this is a republish of an existing package, ie xx.xxx.2 , rather than the base release of a package (1)') string(name: 'PACKAGE_INCREMENT', defaultValue: '1', description: 'This is the incremental number used for re-releases of package versions - Should be set appropriately if RePackage is True') string(name: 'TEMURIN_VERSION_INCREMENT', defaultValue: '0', description: 'Final Element Of The Version Number - Used For Temurin Specific Patches - NEARLY ALWAYS ZERO') + + // Handle Parameters From Upstream Job That Are Not Required. + string(name: 'UPSTREAM_JOB_NAME', defaultValue: '', description: 'Parameter From Upstream Job Not Required Here') + string(name: 'UPSTREAM_JOB_NUMBER', defaultValue: '', description: 'Parameter From Upstream Job Not Required Here') + booleanParam(name: 'UPLOAD_TESTRESULTS_ONLY', defaultValue: false, description: 'Parameter From Upstream Job Not Required Here') + string(name: 'TIMESTAMP', defaultValue: '', description: 'Parameter From Upstream Job Not Required Here') + string(name: 'GITHUB_TOKEN', defaultValue: '', description: 'Parameter From Upstream Job Not Required Here') + string(name: 'ARTIFACTS_TO_SKIP', defaultValue: '', description: 'Parameter From Upstream Job Not Required Here') } // Stage Definition - Start stages { @@ -289,7 +297,7 @@ pipeline { } else if (params.ARTIFACTS_TO_COPY.contains('linux')) { distro = "linux" } else { - printlin "WARNING: The Artifacts Are For Neither Linux OR Alpine" + println "WARNING: The Artifacts Are For Neither Linux OR Alpine" currentBuild.result = 'UNSTABLE' // Also Consider NOT_BUILT error("Pipeline Skipped Due To Triggered For Neither Alpine Or Linux") }