Package com.cisco.step.jenkins.plugins.jenkow

Examples of com.cisco.step.jenkins.plugins.jenkow.JenkowWorkflowRepository.ensureWorkflowDefinition()


public class DiagramTest extends JenkowTestCase {
   
    public void testDiagramGeneration() throws Exception {
        JenkowWorkflowRepository repo = JenkowPlugin.getInstance().getRepo();
        repo.ensureWorkflowDefinition("wf1");
       
        FreeStyleProject launcher = createFreeStyleProject("j1");
        DescribableList<Builder,Descriptor<Builder>> bl = launcher.getBuildersList();
        bl.add(new JenkowBuilder("wf1"));
        bl.add(new Shell("echo wf.done"));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.