Class WindowsTaskSlaveRestarter
- java.lang.Object
-
- jenkins.slaves.restarter.SlaveRestarter
-
- de.tracetronic.jenkins.plugins.ecutest.extension.agent.AbstractTaskAgentRestarter
-
- de.tracetronic.jenkins.plugins.ecutest.extension.slave.WindowsTaskSlaveRestarter
-
- All Implemented Interfaces:
ExtensionPoint
,Serializable
@Deprecated public class WindowsTaskSlaveRestarter extends AbstractTaskAgentRestarter
Deprecated.in favor of WindowsTaskAgentRestarterJNLP 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_SLAVE or renamed individually by system property ecutest.taskName. This task should be configured with actions how to restart the agent.- Since:
- 1.8
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description WindowsTaskSlaveRestarter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
getTaskName()
Deprecated.-
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()
Deprecated.- Specified by:
getTaskName
in classAbstractTaskAgentRestarter
-
-