Code Monkey home page Code Monkey logo

build-timeout-plugin's Introduction

Build Timeout Plugin

This plugin allows you to automatically terminate a build if it’s taking too long.

This plugin isn’t applicable to pipelines.

Instructions

After installing the plugin, go to the "Configure" page for your job and select "Terminate a build if it’s stuck".

Because Java only allows threads to be interrupted at a set of fixed locations, depending on how a build hangs, the abort operation might not take effect. For example,

  • if Jenkins is waiting for child processes to complete, it can abort right away.

  • if Jenkins is stuck in an infinite loop, it can never be aborted.

  • if Jenkins is doing a network or file I/O within the Java VM (such as lengthy file copy or SVN update), it cannot be aborted.

So if you think the build timeout isn’t taking effect, our default assumption is that the build is hanging at the place that cannot be interrupted. If you suspect otherwise, please obtain the thread dump and report it.

Time-out actions with notes

Time-out action Note

Abort and restart the build

Installing Naginator Plugin enables this action

build-timeout-plugin's People

Contributors

alanharder avatar amuniz avatar armfergom avatar barukreddy avatar basil avatar christ66 avatar daniel-beck avatar darxriggs avatar fbelzunc avatar fmiguelez avatar ikedam avatar ikikko avatar jglick avatar jimilian avatar jsoref avatar kohsuke avatar krisstern avatar ndeloof avatar notmyfault avatar oleg-nenashev avatar recampbell avatar redsolo avatar rsandell avatar sghill avatar ssogabe avatar stephenc avatar tyuki39 avatar wilfred avatar yunir avatar zaro0508 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.