-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[NO-ISSUE] Use apache-release profile when doing a release build #5970
Conversation
.ci/jenkins/Jenkinsfile.deploy
Outdated
.withOptions(env.BUILD_MVN_OPTS_CURRENT ? [ env.BUILD_MVN_OPTS_CURRENT ] : []) | ||
.withProperty('maven.test.failure.ignore', true) | ||
.skipTests(params.SKIP_TESTS) | ||
.withSettingsXmlFile(MAVEN_SETTINGS_FILE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be in configFileProvider
section for MAVEN_SETTINGS_FILE to exist (it's tmp scoped to the defining configFileProvider block).
I'd say extend the configFileProvider block above the def mavenCommand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or move mavenCommand.withSettingsXmlFile into the configFileProvider + run section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Adds gpg setup and apache-release Maven profile to the release build.
Similar (can be merged separately) PRs: