Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve jenkins error logging in installer jenkinsfile & fix typo #1103 #1104

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion linux_new/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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")
}
Expand Down
Loading