Package org.jenkinsci.plugins.conditionalbuildstep.singlestep

Examples of org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder


      blist.add(tb);
      project.getBuildersList().add(new ConditionalBuilder(new AlwaysRun(), new BuildStepRunner.Run(), blist));
     
      // test conditional builder (single)
      TriggerBuilder tb2 = new TriggerBuilder(new BlockableBuildTriggerConfig(childJobNamesString.toString(), null, buildParameters));       
      project.getBuildersList().add(new SingleConditionalBuilder(tb2, new AlwaysRun(), new BuildStepRunner.Run()));

    //setup post build trigger
    project.getPublishersList().add(new BuildTrigger(new BuildTriggerConfig(childJobNamesString.toString(), ResultCondition.SUCCESS, new CurrentBuildParameters())));
    return project;
  }
View Full Code Here

TOP

Related Classes of org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.