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

[JENKINS-71737] rename cloudName to name #892

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

car-roll
Copy link
Contributor

@car-roll car-roll commented Sep 13, 2023

Preparing for jenkinsci/jenkins#8310 where cloud name changes will be done on a separate page

The use of the variable name cloudName in AmazonEC2Cloud forces jenkins core to have a special case of handling cloudName when it not a variable of Cloud.
https://github.com/jenkinsci/jenkins/blob/d41b0f5807923286ad33d4847af95e2c6c7c77ba/core/src/main/java/jenkins/agents/CloudSet.java#L229

Testing done

manually created new AmazonEC2Cloud
test in config-as-code integration tests: jenkinsci/configuration-as-code-plugin#2372

Submitter checklist

Preview Give feedback

@car-roll car-roll marked this pull request as ready for review September 14, 2023 03:34
@car-roll
Copy link
Contributor Author

All tests pass locally, and manual testing works fine. I'm not sure why I'm seeing a specific issue here in the CasC integration tests: jenkinsci/configuration-as-code-plugin#2372

@car-roll
Copy link
Contributor Author

car-roll commented Sep 14, 2023

Sorry @res0nance would you mind taking a look at another PR? Related to jenkinsci/jenkins#8310

This is upstream of #891

also, I don't know if I would consider this a breaking change or not. It basically breaks jelly pages and CasC

edit: see simliar PR here: jenkinsci/azure-vm-agents-plugin#462

@car-roll
Copy link
Contributor Author

This would need a release as well to support jenkinsci/configuration-as-code-plugin#2372

@res0nance res0nance merged commit 6d7bfc5 into jenkinsci:master Sep 15, 2023
15 checks passed
@nick-ax
Copy link

nick-ax commented Sep 18, 2023

I can confirm that this is a breaking change for CasC 😢

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