本文整理了Java中hudson.tasks.Builder
类的一些代码示例,展示了Builder
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Builder
类的具体详情如下:
包路径:hudson.tasks.Builder
类名称:Builder
[英]BuildSteps that perform the actual build.
To register a custom Builder from a plugin, put Extension on your descriptor.
[中]执行实际构建的构建步骤。
要从插件注册自定义生成器,请在描述符上添加扩展名。
代码示例来源:origin: jenkinsci/jenkins
@Override
public DescriptorImpl getDescriptor() {
return (DescriptorImpl)super.getDescriptor();
}
代码示例来源:origin: jenkinsci/jenkins
/**
* Gets the builder descriptor by name. Primarily used for making them web-visible.
*/
public Descriptor<Builder> getBuilder(String shortClassName) {
return findDescriptor(shortClassName, Builder.all());
}
代码示例来源:origin: ingenieux/awseb-deployment-plugin
@Override
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
return super.perform(build, launcher, listener);
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
public Collection<? extends Action> superGetProjectActions(AbstractProject<?, ?> project) {
return super.getProjectActions(project);
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
public boolean superPerform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
return super.perform(build, launcher, listener);
}
代码示例来源:origin: jenkinsci/jenkins-cloudformation-plugin
@Override
public Collection<? extends Action> getProjectActions(AbstractProject<?, ?> project) {
LOGGER.info("getProjectActions");
return super.getProjectActions(project);
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
@Override
public DescriptorImpl getDescriptor() {
return (DescriptorImpl) super.getDescriptor();
}
/**
代码示例来源:origin: jenkinsci/jenkins
public static List<Descriptor<Builder>> getBuilderDescriptors(AbstractProject<?,?> project) {
return BuildStepDescriptor.filter(Builder.all(), project.getClass());
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
public boolean superPerform(Build<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
return super.perform(build, launcher, listener);
}
代码示例来源:origin: jenkinsci/maven-plugin
protected List<Action> createTransientActions() {
List<Action> r = super.createTransientActions();
// Fix for ISSUE-1149
for (MavenModule module: modules.values()) {
module.updateTransientActions();
}
if(publishers!=null) // this method can be loaded from within the onLoad method, where this might be null
for (BuildStep step : publishers)
r.addAll(step.getProjectActions(this));
if (buildWrappers!=null)
for (BuildWrapper step : buildWrappers)
r.addAll(step.getProjectActions(this));
if (prebuilders!=null)
for (Builder builder : prebuilders)
r.addAll(builder.getProjectActions(this));
if (postbuilders!=null)
for (Builder builder : postbuilders)
r.addAll(builder.getProjectActions(this));
return r;
}
代码示例来源:origin: jenkinsci/docker-plugin
@Override
public DescriptorImpl getDescriptor() {
return (DescriptorImpl) super.getDescriptor();
}
代码示例来源:origin: jenkinsci/jenkins
@Override
protected void submit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException, FormException {
super.submit(req,rsp);
JSONObject json = req.getSubmittedForm();
getBuildWrappersList().rebuild(req,json, BuildWrappers.getFor(this));
getBuildersList().rebuildHetero(req,json, Builder.all(), "builder");
getPublishersList().rebuildHetero(req, json, Publisher.all(), "publisher");
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
@Override
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
initPython();
if (pexec.isImplemented(4)) {
return pexec.execPythonBool("perform", build, launcher, listener);
} else {
return super.perform(build, launcher, listener);
}
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
@Override
public Collection<? extends Action> getProjectActions(AbstractProject<?, ?> project) {
initPython();
if (pexec.isImplemented(6)) {
return (Collection) pexec.execPython("get_project_actions", project);
} else {
return super.getProjectActions(project);
}
}
代码示例来源:origin: XT-i/aws-lambda-jenkins-plugin
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
return (LambdaPublishBuildStep.DescriptorImpl)super.getDescriptor();
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Gets the builder descriptor by name. Primarily used for making them
* web-visible.
*/
public Descriptor<Builder> getBuilder(String shortClassName) {
return findDescriptor(shortClassName, Builder.all());
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
@Override
public boolean perform(Build<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException {
initPython();
if (pexec.isImplemented(7)) {
return pexec.execPythonBool("perform", build, launcher, listener);
} else {
return super.perform(build, launcher, listener);
}
}
代码示例来源:origin: XT-i/aws-lambda-jenkins-plugin
@SuppressWarnings("unchecked")
@Override
public BuildStepDescriptor getDescriptor() {
return (DescriptorImpl)super.getDescriptor();
}
代码示例来源:origin: org.jenkins-ci.main/jenkins-core
/**
* Gets the builder descriptor by name. Primarily used for making them web-visible.
*/
public Descriptor<Builder> getBuilder(String shortClassName) {
return findDescriptor(shortClassName, Builder.all());
}
代码示例来源:origin: org.jenkins-ci.plugins/ivy
if (!builder.perform(IvyBuild.this, launcher, listener))
r = FAILURE;
} finally {
内容来源于网络,如有侵权,请联系作者删除!