Examples of StepEndNode


Examples of org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode

         */
        StepEndNode addBodyEndFlowNode() {
            try {
                FlowHead head = CpsThread.current().head;

                StepEndNode end = new StepEndNode(head.getExecution(),
                        (StepStartNode) head.getExecution().getNode(startNodeId),
                        head.get());
                end.addAction(new BodyInvocationAction());
                head.setNewHead(end);

                return end;
            } catch (IOException e) {
                LOGGER.log(Level.WARNING, "Failed to grow the flow graph", e);
View Full Code Here

Examples of org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode

            // if the execution has finished synchronously inside the start method
            // we just move on accordingly
            if (an instanceof StepStartNode) {
                // no body invoked, so EndNode follows StartNode immediately.
                thread.head.setNewHead(new StepEndNode(exec, (StepStartNode)an, an));
            }

            thread.head.markIfFail(context.getOutcome());

            return context.replay();
View Full Code Here

Examples of org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode

                        if (thread != null) {
                            if (n instanceof StepStartNode) {
                                FlowNode tip = thread.head.get();
                                parents.set(0, tip);

                                thread.head.setNewHead(new StepEndNode(flow, (StepStartNode) n, parents));
                            }
                            thread.head.markIfFail(getOutcome());
                            thread.setStep(null);
                            thread.resume(getOutcome());
                        }
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.