-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Remove custom arguments from Maven Release Plugin configuration #7138
Conversation
Perhaps beyond the immediate scope of this, but given linked PRs and motivation, could we fail the build if it's a release build, and |
I am hoping the Maven folks will fix their bug, so I see no need to do what you are suggesting. |
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.
AFAIUI, depends on jenkins-infra/release#292, which is merged (i.e., this is fine).
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.
I plan to monitor the next weekly release to ensure that signing takes place as expected, then backport this to stable-2.361
.
This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!
FTR another option might be in core to always require an alternative deployment repository. Even regular release builds (pre-2.361) have
|
FTR they did, in 3.0.0-M7. |
Fixes a regression exposed by jenkinsci/pom#281 and #6914. In order for release artifacts to be signed by
maven-gpg-plugin
andmaven-jarsigner-plugin
during therelease:prepare
goal, we rely onjenkins/pom.xml
Lines 521 to 540 in d25704c
jenkins/war/pom.xml
Lines 623 to 648 in d25704c
release
andsign
profiles respectively. To activate these profiles during therelease:prepare
goal we currently rely onjenkins/pom.xml
Lines 428 to 429 in d25704c
<activeProfiles>
setting insettings-release.xml
. Note that we cannot enable these profiles usingreleaseProfiles
because that setting only applies to therelease:stage
andrelease:perform
goals, not therelease:prepare
goal.Proposed changelog entries
Support staging of releases (regression in 2.361).
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restricted
or have@since TODO
Javadoc, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
if applicable.eval
to ease future introduction of Content-Security-Policy directives (see documentation on jenkins.io).Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are accurate, human-readable, and in the imperative moodupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).