jenkins.model.Jenkins._doScript()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(173)

本文整理了Java中jenkins.model.Jenkins._doScript()方法的一些代码示例,展示了Jenkins._doScript()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Jenkins._doScript()方法的具体详情如下:
包路径:jenkins.model.Jenkins
类名称:Jenkins
方法名:_doScript

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());
}

相关文章

Jenkins类方法