-
Notifications
You must be signed in to change notification settings - Fork 96
Inclusive naming changes #149
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
base: master
Are you sure you want to change the base?
Conversation
MarkEWaite
left a comment
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.
Minor improvements
| > `org.jenkinsci.plugins.durabletask.BourneShellScript.FORCE_SHELL_WRAPPER=true` to the Java command line used to start Jenkins. | ||
| - Update ssh-slaves ([PR \#100](https://github.com/jenkinsci/durable-task-plugin/pull/100)) | ||
| - Update ssh-agents ([PR \#100](https://github.com/jenkinsci/durable-task-plugin/pull/100)) |
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.
Slightly different for linguistic reasons. The previous entry used the "plugin ID" which is not well known to users and is unchanging even for inclusive naming. Let's use the plugin name rather than the identifier
| - Update ssh-agents ([PR \#100](https://github.com/jenkinsci/durable-task-plugin/pull/100)) | |
| - Update SSH Build Agents plugin ([PR \#100](https://github.com/jenkinsci/durable-task-plugin/pull/100)) |
| process namespaces). | ||
| - Bugfix: Use `sh` to run shell scripts rather than attempting to | ||
| use the absolute path to the default shell from the master on | ||
| use the absolute path to the default shell from the Controller on |
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.
Lower case rather than upper case inside the sentence
| use the absolute path to the default shell from the Controller on | |
| use the absolute path to the default shell from the controller on |
|
|
||
| - Do not kill a one-shot agent merely because a flyweight task | ||
| happened to run on it (rather than on master as usual). Works around | ||
| happened to run on it (rather than on the Controller as usual). Works around |
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.
Lower case
| happened to run on it (rather than on the Controller as usual). Works around | |
| happened to run on it (rather than on the controller as usual). Works around |
| <dependency> | ||
| <groupId>org.jenkins-ci.plugins</groupId> | ||
| <artifactId>ssh-slaves</artifactId> | ||
| <artifactId>ssh-agents</artifactId> |
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.
That's an identifier, needs to remain the same
| <artifactId>ssh-agents</artifactId> | |
| <artifactId>ssh-slaves</artifactId> |
| /*package*/ static final class ShellController extends FileMonitoringController { | ||
|
|
||
| /** Last time we checked the timestamp, in nanoseconds on the master. */ | ||
| /** Last time we checked the timestamp, in nanoseconds on the Controller. */ |
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.
Lower case
| /** Last time we checked the timestamp, in nanoseconds on the Controller. */ | |
| /** Last time we checked the timestamp, in nanoseconds on the controller. */ |
| } | ||
| } catch (Exception x) { | ||
| // note that LOGGER here is going to the agent log, not master log | ||
| // note that LOGGER here is going to the agent log, not the Controller log |
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.
Lower case
| // note that LOGGER here is going to the agent log, not the Controller log | |
| // note that LOGGER here is going to the agent log, not the controller log |
| /** | ||
| * A remote handler which may be sent to an agent and handle process output and results. | ||
| * If it needs to communicate with the master, you may use {@link VirtualChannel#export}. | ||
| * If it needs to communicate with the Controller, you may use {@link VirtualChannel#export}. |
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.
| * If it needs to communicate with the Controller, you may use {@link VirtualChannel#export}. | |
| * If it needs to communicate with the controller, you may use {@link VirtualChannel#export}. |
I assume the same here
Inclusive naming changes
Ensure you have provided tests - that demonstrates feature works or fixes the issue