Class WindowsTaskAgentRestarter
- java.lang.Object
-
- jenkins.slaves.restarter.SlaveRestarter
-
- de.tracetronic.jenkins.plugins.ecutest.extension.agent.AbstractTaskAgentRestarter
-
- de.tracetronic.jenkins.plugins.ecutest.extension.agent.WindowsTaskAgentRestarter
-
- All Implemented Interfaces:
ExtensionPoint
,Serializable
@Extension public class WindowsTaskAgentRestarter extends AbstractTaskAgentRestarter
JNLP agent restarter based on Windows Task Scheduler.This extension point will workaround the problem of already loaded libraries after reconnecting
to the master (see JENKINS-31961).In order to work a new task in the Windows Task Scheduler has to be created named
RESTART_JENKINS_AGENT or renamed individually by system property ecutest.taskName. This task should be configured with actions how to restart the agent.- Since:
- 2.17
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description WindowsTaskAgentRestarter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getTaskName()
-
Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.extension.agent.AbstractTaskAgentRestarter
canWork, restart
-
Methods inherited from class jenkins.slaves.restarter.SlaveRestarter
all
-
-
-
-
Method Detail
-
getTaskName
protected String getTaskName()
- Specified by:
getTaskName
in classAbstractTaskAgentRestarter
-
-