本文整理了Java中hudson.model.Build.execute()
方法的一些代码示例,展示了Build.execute()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Build.execute()
方法的具体详情如下:
包路径:hudson.model.Build
类名称: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();
}
}
内容来源于网络,如有侵权,请联系作者删除!