Details
-
Improvement
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
Jenkins ver. 2.38
Description
It would be nice if the Jenkins startup log for permanent slaves would output what protocols it was using to communicate with the master.
Current behavior
Right now the startup log looks something like:
JNLP agent connected from localhost/127.0.0.1 Slave.jar version: 3.3 This is a Unix agent NOTE: Relative remote path resolved to: /home/sam/sandbox/jenkins Agent successfully connected and online
Desired output
Underneath Slave.jar version would be a good place to output the communication protocol. Something along the lines of:
JNLP agent connected from localhost/127.0.0.1 Slave.jar version: 3.3 Communication Protocol: Java Web Start Agent Protocol/4 This is a Unix agent NOTE: Relative remote path resolved to: /home/sam/sandbox/jenkins Agent successfully connected and online
Using the protocol getDisplayName() method.
Attachments
Issue Links
- relates to
-
JENKINS-36871 JNLPProtocol4
-
- Closed
-
- links to
Code changed in jenkins
User: Oleg Nenashev
Path:
core/src/main/resources/hudson/cli/CliProtocol/description.jelly
core/src/main/resources/hudson/cli/CliProtocol/description.properties
core/src/main/resources/hudson/cli/CliProtocol2/description.jelly
core/src/main/resources/hudson/cli/CliProtocol2/description.properties
core/src/main/resources/hudson/cli/Messages.properties
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol/description.jelly
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol/description.properties
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol/description_sr.properties
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol2/description.jelly
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol2/description.properties
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol2/description_sr.properties
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol3/description.jelly
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol3/description.properties
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol3/description_sr.properties
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol4/description.jelly
core/src/main/resources/jenkins/slaves/JnlpSlaveAgentProtocol4/description.properties
core/src/main/resources/jenkins/slaves/Messages.properties
http://jenkins-ci.org/commit/jenkins/0c991dec38800adabacd8a56349bd61575c1d7e5
Log:
Merge pull request #2682 from samrocketman/enhance-slave-protocol-descriptions
JENKINS-40700Enhance slave protocol descriptionsCompare: https://github.com/jenkinsci/jenkins/compare/8820a55dc670...0c991dec3880