forked from jenkinsci/versioncolumn-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve how agents are token offline and online
[JENKINS-72284] when an agent with wrong java version connects, it will be taken offline right away. Before the agent was only taken offline when one visited the /computer page. Use monitor specific offline causes that inherit from MonitorOfflineCause. This allows to take the agent automatically online again, after it was restarted with the correct java/remoting version. Also with jenkinsci/jenkins#8618 it would then reset the Admin monitor if that was the only reason that it fired. Requires jenkinsci/jenkins#8593 that made 2 mthods public.
- Loading branch information
1 parent
9b3b70d
commit 54edbab
Showing
3 changed files
with
107 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters