-
Notifications
You must be signed in to change notification settings - Fork 204
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
change layoutPolicy to deployPolicy for Yum repository closes #380 #392
Conversation
change layoutPolicy to deployPolicy
fixes #380 |
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 is apparently not meeting the target. See the errors in CI. Extract:
{
"error_msg": "javax.validation.ConstraintViolationException: attributes[maven].layoutPolicy: must not be null",
"format": "maven2",
"name": "central",
"status": "error",
"type": "proxy"
},
{
"error_msg": "javax.validation.ConstraintViolationException: attributes[maven].layoutPolicy: must not be null",
"format": "maven2",
"name": "jboss",
"status": "error",
"type": "proxy"
},
{
"error_msg": "javax.validation.ConstraintViolationException: attributes[maven].layoutPolicy: must not be null",
"format": "maven2",
"name": "private-release",
"status": "error",
"type": "hosted"
},
I will fix this and push the changes later today :-) |
Working with immutable artifacts is a CICD best practise, therefore the default deploy policy is set to strict. Strict is the Nexus default as well
Ah I see, inconsistency on the Nexus part. For yum its called deployPolicy. For maven its called layoutPolicy. Technically its a different attribute. But when you take a look at the Nexus UI, its called Layout Policy for both repo types. |
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.
It's good enough with a single var on nexus side since the UI uses the same name. We can always change that later if need be. Thanks for the fix.
Update create_repos_from_list.groovy