-
Notifications
You must be signed in to change notification settings - Fork 87
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
Added node usage mode to the templates #338
base: master
Are you sure you want to change the base?
Added node usage mode to the templates #338
Conversation
plugin/src/main/java/jenkins/plugins/openstack/compute/JCloudsSlaveTemplate.java
Outdated
Show resolved
Hide resolved
plugin/src/main/java/jenkins/plugins/openstack/compute/JCloudsSlaveTemplate.java
Outdated
Show resolved
Hide resolved
...es/jenkins/plugins/openstack/compute/JCloudsCloudTest/globalConfigMigrationFromV1/config.xml
Outdated
Show resolved
Hide resolved
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.
Thanks, this is much desired change. I have made some mostly cosmetic review comments. However, the big one would be, to move the feature from the template itself to SlaveOptions
.
…he config from version 1.
Thanks for reviewing my PR. I have made the code changes you recommended. Thanks Alex |
Have you seen my previous comment about the location of the Usage field in the UI? It would be great if you could clarify that you think the Usage field should be accessed via the Provisioning Details button. Personally I don't think so because the field is fundamental to the template being used but I am happy to discuss :) Thanks |
Thanks for reflecting that. I do see that Can you move it there? I believe we are almost done here. |
Sorry for the delay. I have now moved the Thanks |
I think this PR contains all of the changes that you requested. Are you able to look at merging it? Please let me know if there is anything else you would like done. Thanks |
would love to see this feature merged |
Hello,
Firstly, thanks for creating this awesome Jenkins plugin! My team relies on it heavily as it allows us to use our resources in a much more efficient way.
One feature we would like though, is the ability to set the node usage mode in the templates so that we can have certain nodes that will only be used by jobs that specify the relevant label. Therefore, I have created this PR which adds this feature. I notice that it is also mentioned in the following issue:
#199
The change is relatively simple but here is a quick summary:
As well as the updates to the unit tests, I have also done a lot of manual testing of the new plugin and it is working well on my Jenkins server.
Anyway, I would be extremely grateful if you could have a look at my PR with a view to merging it. Please also let me know if there are any updates to the PR that you would like to see.
Many thanks
Alex