Examples of abortResult()


Examples of hudson.model.Executor.abortResult()

                return p.getExecutionStrategy().run(MatrixBuild.this, aggregators, listener);
            } catch( InterruptedException e ) {
                logger.println("Aborted");
                Executor x = Executor.currentExecutor();
                x.recordCauseOfInterruption(MatrixBuild.this, listener);
                return x.abortResult();
            } catch (AbortException e) {
                logger.println(e.getMessage());
                return Result.FAILURE;
            } finally {
                // if the build was aborted in the middle. Cancel all the configuration builds.
View Full Code Here

Examples of hudson.model.Executor.abortResult()

                }
                return Result.FAILURE;
            }catch (InterruptedException e) {
                Executor x = Executor.currentExecutor();
                x.recordCauseOfInterruption(DynamicBuild.this, listener);
                return x.abortResult();
            }catch (Exception e) {
                PrintStream logger = listener.getLogger();
                logger.println(e.getMessage());
                logger.println(ExceptionUtils.getStackTrace(e));
                Executor x = Executor.currentExecutor();
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.