hudson.model.Job.doConfigSubmit()方法的使用及代码示例

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

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

Job.doConfigSubmit介绍

[英]Accepts submission from the configuration page.
[中]接受来自配置页面的提交。

代码示例

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

@Override
@RequirePOST
public void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
  super.doConfigSubmit(req,rsp);
  updateTransientActions();
  // notify the queue as the project might be now tied to different node
  Jenkins.getInstance().getQueue().scheduleMaintenance();
  // this is to reflect the upstream build adjustments done above
  Jenkins.getInstance().rebuildDependencyGraphAsync();
}

代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper

public synchronized void superDoConfigSubmit(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException, FormException {
  super.doConfigSubmit(req, rsp);
}

代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper

@Override
@RequirePOST
public synchronized void doConfigSubmit(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException, FormException {
  initPython();
  if (pexec.isImplemented(64)) {
    pexec.execPythonVoid("do_config_submit", req, rsp);
  } else {
    super.doConfigSubmit(req, rsp);
  }
}

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

@Override
@RequirePOST
public void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
  super.doConfigSubmit(req,rsp);
  updateTransientActions();
  // notify the queue as the project might be now tied to different node
  Jenkins.getInstance().getQueue().scheduleMaintenance();
  // this is to reflect the upstream build adjustments done above
  Jenkins.getInstance().rebuildDependencyGraphAsync();
}

代码示例来源:origin: hudson/hudson-2.x

@Override
public void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
  super.doConfigSubmit(req,rsp);

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

@Override
public void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
  super.doConfigSubmit(req,rsp);

代码示例来源:origin: org.eclipse.hudson/hudson-core

@Override
public void doConfigSubmit(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException, FormException {
  super.doConfigSubmit(req, rsp);

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

@Override
public void doConfigSubmit(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException, FormException {
  super.doConfigSubmit(req, rsp);

相关文章

微信公众号

最新文章

更多

Job类方法