Codota Logo
Builder
Code IndexAdd Codota to your IDE (free)

How to use
Builder
in
hudson.tasks

Best Java code snippets using hudson.tasks.Builder (Showing top 20 results out of 369)

  • Common ways to obtain Builder
private void myMethod () {
Builder b =
  • Codota IconStaplerRequest staplerRequest;JSONObject src;staplerRequest.bindJSON(Maven.class, src)
  • Codota IconIvyBuilderType ivyBuilderType;Properties additionalProperties;List environment;ivyBuilderType.getBuilder(additionalProperties, null, environment)
  • Codota IconIvyBuild ivyBuild;IvyBuild ivyBuild2;List environment;ivyBuild.getProject().getParent().getIvyBuilderType().getBuilder(null, ivyBuild2.getProject().getTargets(), environment)
  • Smart code suggestions by Codota
}
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 {
hudson.tasksBuilder

Javadoc

BuildSteps that perform the actual build.

To register a custom Builder from a plugin, put Extension on your descriptor.

Most used methods

  • getDescriptor
  • all
    Returns all the registered Builder descriptors.
  • perform
  • getProjectActions
  • getProjectAction
  • prebuild
    Default implementation that does nothing.
  • getRequiredMonitorService
    Returns BuildStepMonitor#NONE by default, as Builders normally don't depend on its previous result.

Popular in Java

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now