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

[NO-ISSUE] Use apache-release profile when doing a release build #5970

Merged
merged 6 commits into from
May 24, 2024

Conversation

baldimir
Copy link
Contributor

@baldimir baldimir commented May 23, 2024

Adds gpg setup and apache-release Maven profile to the release build.

Similar (can be merged separately) PRs:

@baldimir baldimir requested a review from jstastny-cz May 23, 2024 12:07
.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)
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Copy link
Contributor

@jstastny-cz jstastny-cz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jstastny-cz jstastny-cz merged commit b73c91f into apache:main May 24, 2024
1 of 2 checks passed
@baldimir baldimir deleted the use-apache-release-profile branch October 11, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants