> Can you explain one more thing. What should I do (which code to
execute/method to use/JVM parameter to provide/jar to download) to make
sure that agent supports last protocol?

The most straightforward way is to use
https://wiki.jenkins-ci.org/display/JENKINS/VersionColumn+Plugin . But it's
an overkill maybe.

But you can invoke logic from this plugin in order to retrieve remoting
versions in your plugins.



2016-10-20 11:51 GMT+02:00 Jimilian <[email protected]>:

> Thanks a lot for fast answer!
>
> Can you explain one more thing. What should I do (which code to
> execute/method to use/JVM parameter to provide/jar to download) to make
> sure that agent supports last protocol?
> ( I want to implement some kind of checks for this in our custom version
> of EC2 plugin )
>
> Br, Alex
>
> On Thursday, 20 October 2016 11:17:49 UTC+2, Stephen Connolly wrote:
>>
>> First go to configure global security:
>>
>> [image: Inline images 1]
>>
>> Then click the "Agent protocols..." button
>>
>> [image: Inline images 2]
>> Then enable / disable the protocols you want.
>>
>> If an agent cannot discover a common set of protocols it will abort
>> trying to connect. If it can establish a common set of protocols, it will
>> try them in sequence, highest version first.
>>
>> HTH
>>
>> On 20 October 2016 at 09:19, Jimilian <[email protected]> wrote:
>>
>>> Hi, Oleg!
>>>
>>> How to change protocol version? Do you know any documentation related to
>>> this?
>>>
>>> Br, Alex
>>>
>>> On Thursday, 13 October 2016 08:25:01 UTC+2, Oleg Nenashev wrote:
>>>>
>>>> Hello,
>>>>
>>>> For your information, we are going to release a new major version of
>>>> remoting (remoting 3). This version provides a new JNLP4 protocol, which
>>>> adds support of Java NIO and improves stability being compared to the JNLP3
>>>> protocol.
>>>>
>>>> Due to the change implementation, it requires some *formally*
>>>> incompatible changes in the remoting lib and the core. The change required
>>>> deletion of the JnlpServerHandshake class and rework of its
>>>> implementation (PR to the core
>>>> <https://github.com/jenkinsci/jenkins/pull/2492/files>). De-facto we
>>>> were unable to find any usages of such API.
>>>>
>>>> Another important change is the explicit Java 7 requirement. We do not
>>>> support Java 6 on slaves/agents starting from the 1.610 release (
>>>> Announcement <https://jenkins.io/blog/2015/04/06/good-bye-java6/>),
>>>> but de-facto remoting users were still able to use this Java version and
>>>> latest remoting versions in particular edge cases.
>>>>
>>>> Today at the Jenkins governance meeting
>>>> <http://meetings.jenkins-ci.org/jenkins-meeting/2016/jenkins-meeting.2016-10-12-18.00.html>
>>>> we decided that these formally incompatible changes are not blockers for
>>>> including it into Jenkins 2.x.
>>>>
>>>> As a remoting maintainer, I would like to include JNLP4 into Jenkins
>>>> core as soon as possible since remoting 3 has some known stability issues.
>>>> Inclusion into Weeklys allows to get better soak testing before the change
>>>> actually gets into the next LTS baselines. Newest Jenkins core versions
>>>> include UI for managing the new protocol, hence users will be able to
>>>> opt-in and opt-out. Jenkins agents with remoting 2.x will be able to
>>>> connect to Jenkins master with remoting 3.x, hence the update should be
>>>> smooth.
>>>>
>>>> Please respond if you have any concerns regarding the approach.
>>>>
>>>> Best regards,
>>>> Oleg Nenashev
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-dev/55db6fb0-f63f-4380-9814-8fbe8220e05e%40goo
>>> glegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/55db6fb0-f63f-4380-9814-8fbe8220e05e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-dev/SS6z-09dHIs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/1d162875-02ab-4f59-996e-e6abd21d8684%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/1d162875-02ab-4f59-996e-e6abd21d8684%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLDrQcGCONWYHLjkbvAYHrAw1vyUHMSD%2B-WmoZuNv9Z80w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to