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

Edit tasklist title
Beta Give feedback Tasklist Submitter checklist, more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
    Options
  2. Ensure that the pull request title represents the desired changelog entry
    Options
  3. Please describe what you did
    Options
  4. Link to relevant issues in GitHub or Jira
    Options
  5. Link to relevant pull requests, esp. upstream and downstream changes
    Options
  6. Ensure you have provided tests - that demonstrates feature works or fixes the issue
    Options
Loading

@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
16 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
3 participants