Skip to content

Add build timeout - #43

Merged
gerkey merged 2 commits into
masterfrom
add_build_timeout
Mar 29, 2017
Merged

gerkey merged 2 commits into
masterfrom
add_build_timeout

Conversation

@gerkey

@gerkey gerkey commented Mar 29, 2017

Copy link
Copy Markdown
Member

Add the ability to specify a timeout on a build. If the build takes longer, it will be aborted. I installed the build-timeout plugin on Jenkins to allow this to work. The change here, which sets a 10h timeout on the nightly aarch64 job, is deployed, with this diff:

Updating job 'nightly_linux-aarch64_debug' (dry run)
    <<<
    --- remote config
    +++ new config
    @@ -443,0 +444,8 @@
    +    <hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="[email protected]">
    +      <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
    +        <timeoutMinutes>600</timeoutMinutes>
    +      </strategy>
    +      <operationList>
    +        <hudson.plugins.build__timeout.operations.AbortOperation />
    +      </operationList>
    +    </hudson.plugins.build__timeout.BuildTimeoutWrapper>
    >>>

@gerkey gerkey added the in progress Actively being worked on (Kanban column) label Mar 29, 2017
@gerkey gerkey added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Mar 29, 2017

@dirk-thomas dirk-thomas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gerkey
gerkey merged commit b8bb17c into master Mar 29, 2017
@gerkey
gerkey deleted the add_build_timeout branch March 29, 2017 19:22
@gerkey gerkey removed the in review Waiting for review (Kanban column) label Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants