system-config/modules/openstack_project/files/jenkins_job_builder/config/defaults.yaml
Khai Do 75b05731bf Add a build-timeout macro
This change adds a build-timeout macro.  This macro sets two parameters
1. sets a 'BUILD_TIMEOUT' environment variable which is set to the
   build timeout value.
2. sets the build to a failed state when a timeout has occurred.

This change requires the Jenkins build-timeout plugin >= ver 1.13
It will not work with older versions of the plugin.  When this parameter
is used with version 1.10 of the plugin Jenkins will set the timeout to 0
and abort builds immediately.

Change-Id: Ie261cac10b59a6094a7f3ec9167274c47b2fc4a3
2014-05-27 14:10:56 -07:00

29 lines
722 B
YAML

- defaults:
name: global
description: |
<p><b>This job is managed by puppet and will be overwritten.</b></p>
<p><b>Do not edit this job through the web</b></p>
<p>If you would like to make changes to this job, please see:
<a href="https://git.openstack.org/cgit/openstack-infra/config">
https://git.openstack.org/cgit/openstack-infra/config
</a>
In modules/openstack_project/files/jenkins_job_builder/config
</p>
project-type: freestyle
concurrent: true
wrappers:
- build-timeout:
timeout: 30
- timestamps
logrotate:
daysToKeep: 1
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1