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

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

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

Jenkins._doScript介绍

暂无

代码示例

代码示例来源:origin: jenkinsci/jenkins

  1. /**
  2. * For system diagnostics.
  3. * Run arbitrary Groovy script.
  4. */
  5. public void doScript(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
  6. _doScript(req, rsp, req.getView(this, "_script.jelly"), FilePath.localChannel, getACL());
  7. }

代码示例来源:origin: jenkinsci/jenkins

  1. /**
  2. * Run arbitrary Groovy script and return result as plain text.
  3. */
  4. public void doScriptText(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
  5. _doScript(req, rsp, req.getView(this, "_scriptText.jelly"), FilePath.localChannel, getACL());
  6. }

代码示例来源:origin: jenkinsci/jenkins

  1. protected void _doScript(StaplerRequest req, StaplerResponse rsp, String view) throws IOException, ServletException {
  2. Jenkins._doScript(req, rsp, req.getView(this, view), getChannel(), getACL());
  3. }

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

  1. /**
  2. * For system diagnostics.
  3. * Run arbitrary Groovy script.
  4. */
  5. public void doScript(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
  6. _doScript(req, rsp, req.getView(this, "_script.jelly"), FilePath.localChannel, getACL());
  7. }

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

  1. /**
  2. * Run arbitrary Groovy script and return result as plain text.
  3. */
  4. public void doScriptText(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
  5. _doScript(req, rsp, req.getView(this, "_scriptText.jelly"), FilePath.localChannel, getACL());
  6. }

代码示例来源:origin: jenkinsci/maven-plugin

  1. public void doScript( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
  2. if (owner == null) {
  3. throw new AbortException("Completed build");
  4. }
  5. Jenkins._doScript(req, rsp, req.getView(this, "_script.jelly"), channel, owner.getACL());
  6. }

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

  1. protected void _doScript(StaplerRequest req, StaplerResponse rsp, String view) throws IOException, ServletException {
  2. Jenkins._doScript(req, rsp, req.getView(this, view), getChannel(), getACL());
  3. }

相关文章

Jenkins类方法