本文整理了Java中hudson.Launcher.kill()
方法的一些代码示例,展示了Launcher.kill()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Launcher.kill()
方法的具体详情如下:
包路径:hudson.Launcher
类名称:Launcher
方法名:kill
[英]Calls ProcessTree#killAll(Map) to kill processes.
[中]调用ProcessTree#killAll(Map)以终止进程。
代码示例来源:origin: jenkinsci/jenkins
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
};
代码示例来源:origin: jenkinsci/jenkins
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException,
InterruptedException {
inner.kill(modelEnvVars);
}
代码示例来源:origin: jenkinsci/jenkins
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
};
代码示例来源:origin: jenkinsci/coverity-plugin
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
decorated.kill(modelEnvVars);
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException,
InterruptedException {
inner.kill(modelEnvVars);
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
代码示例来源:origin: hudson/hudson-2.x
@Override
public void kill(Map<String, String> modelEnvVars) throws IOException, InterruptedException {
outer.kill(modelEnvVars);
}
代码示例来源:origin: org.jenkins-ci.plugins.workflow/workflow-durable-task-step
@Override
public void run() {
try {
runningTask.launcher.kill(Collections.singletonMap(COOKIE_VAR, cookie));
} catch (ChannelClosedException x) {
// fine, Jenkins was shutting down
} catch (RequestAbortedException x) {
// slave was exiting; too late to kill subprocesses
} catch (Exception x) {
LOGGER.log(Level.WARNING, "failed to shut down " + cookie, x);
}
}
});
代码示例来源:origin: jenkinsci/docker-slaves-plugin
@Override public void run() {
execution.completed(null);
try {
runningTask.launcher.kill(Collections.singletonMap(COOKIE_VAR, cookie));
} catch (ChannelClosedException x) {
// fine, Jenkins was shutting down
} catch (RequestAbortedException x) {
// slave was exiting; too late to kill subprocesses
} catch (Exception x) {
LOGGER.log(Level.WARNING, "failed to shut down " + cookie, x);
}
}
});
代码示例来源:origin: io.jenkins.plugins/docker-slaves
@Override public void run() {
execution.completed(null);
try {
runningTask.launcher.kill(Collections.singletonMap(COOKIE_VAR, cookie));
} catch (ChannelClosedException x) {
// fine, Jenkins was shutting down
} catch (RequestAbortedException x) {
// slave was exiting; too late to kill subprocesses
} catch (Exception x) {
LOGGER.log(Level.WARNING, "failed to shut down " + cookie, x);
}
}
});
内容来源于网络,如有侵权,请联系作者删除!