本文整理了Java中jenkins.model.Jenkins._doScript()
方法的一些代码示例,展示了Jenkins._doScript()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Jenkins._doScript()
方法的具体详情如下:
包路径:jenkins.model.Jenkins
类名称:Jenkins
方法名:_doScript
暂无
代码示例来源:origin: jenkinsci/jenkins
/**
* For system diagnostics.
* Run arbitrary Groovy script.
*/
public void doScript(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
_doScript(req, rsp, req.getView(this, "_script.jelly"), FilePath.localChannel, getACL());
}
代码示例来源:origin: jenkinsci/jenkins
/**
* Run arbitrary Groovy script and return result as plain text.
*/
public void doScriptText(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
_doScript(req, rsp, req.getView(this, "_scriptText.jelly"), FilePath.localChannel, getACL());
}
代码示例来源:origin: jenkinsci/jenkins
protected void _doScript(StaplerRequest req, StaplerResponse rsp, String view) throws IOException, ServletException {
Jenkins._doScript(req, rsp, req.getView(this, view), getChannel(), getACL());
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
/**
* For system diagnostics.
* Run arbitrary Groovy script.
*/
public void doScript(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
_doScript(req, rsp, req.getView(this, "_script.jelly"), FilePath.localChannel, getACL());
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
/**
* Run arbitrary Groovy script and return result as plain text.
*/
public void doScriptText(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
_doScript(req, rsp, req.getView(this, "_scriptText.jelly"), FilePath.localChannel, getACL());
}
代码示例来源:origin: jenkinsci/maven-plugin
public void doScript( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
if (owner == null) {
throw new AbortException("Completed build");
}
Jenkins._doScript(req, rsp, req.getView(this, "_script.jelly"), channel, owner.getACL());
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
protected void _doScript(StaplerRequest req, StaplerResponse rsp, String view) throws IOException, ServletException {
Jenkins._doScript(req, rsp, req.getView(this, view), getChannel(), getACL());
}
内容来源于网络,如有侵权,请联系作者删除!