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

Do not force nodeId configured when checking nexus webhook #878

Merged
merged 4 commits into from
Oct 6, 2020

Conversation

jmalvarezf-lmes
Copy link
Contributor

This PR addresses a problem that we do have with Nexus repositories. When you configure a nexus repository, right now you are forced to use nodeId, although it is optional, because when you configure webhooks in Nexus3, nodeId is always present. To allow this property to be really optional, we propose this PR, that checks previously if there are Nexus repositories configured with nodeId, and if there is none, check the repo name instead.

Hope you find it useful.

@gal-yardeni
Copy link
Contributor

hi @jmalvarezf-lmes! overall it looks good to me, any chance you can add a test for it? thanks!

@jmalvarezf-lmes
Copy link
Contributor Author

Hi @gal-yardeni!

Sure, I'll do it tomorrow.

Thanks,

@jmalvarezf-lmes
Copy link
Contributor Author

Test added!

Copy link
Contributor

@gal-yardeni gal-yardeni left a comment

Choose a reason for hiding this comment

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

lgtm

@gal-yardeni gal-yardeni added the ready to merge Approved and ready for merge label Oct 6, 2020
@mergify mergify bot merged commit 6039886 into spinnaker:master Oct 6, 2020
@mergify mergify bot added the auto merged label Oct 6, 2020
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.

3 participants