hudson.model.Build.execute()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(183)

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

Build.execute介绍

暂无

代码示例

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

@Override
public void run() {
  execute(createRunner());
}

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

@Override
public void run() {
  execute(createRunner());
}

代码示例来源:origin: i-m-c/jenkins-inheritance-plugin

public void onRun() {
  super.execute(new InheritanceBuildExecution());
}

代码示例来源:origin: hudson.plugins/project-inheritance

/**
 * This method schedules the execution of this build object.
 * <p>
 * It suppresses the unchecked conversion warning, because the parent
 * class {@link Build} makes use of the {@link BuildExecution} object
 * which fakes its way to be compatible with both the deprecated {@link Runner}
 * class and the new {@link RunExecution} class.
 * </p>
 */
@Override
@SuppressWarnings("unchecked")
public void run() {
  //Making sure that we set the desired versions correctly
  this.setVersions();
  try {
    super.execute(new InheritanceBuildExecution());
  } finally {
    this.unsetVersions();
  }
}

相关文章