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

Treat blank properties as unset #328

Merged
merged 1 commit into from
Apr 2, 2022
Merged

Conversation

basil
Copy link
Member

@basil basil commented Apr 2, 2022

Small fixup that goes along with jenkinsci/plugin-pom#530. That PR blanks out the source and target properties when using release, but this code checks just checks for null rather than null or empty. By making this code check for null or empty, the "magic" of InitializeMojo now becomes a no-op against current cores on all versions of Java as of jenkinsci/plugin-pom#530, which I believe was the desired result according to reviewers.

@basil basil added the internal label Apr 2, 2022
@basil basil merged commit 36976ea into jenkinsci:master Apr 2, 2022
@basil basil deleted the unsetProperty branch April 2, 2022 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant