Jenkins: Add the ability to selectively disable an e2e job

Also, disable kubernetes-e2e-gce-trusty-dev-slow for now as it is failing
constantly due to a known issue.
This commit is contained in:
Daniel Wang 2016-03-10 16:50:43 -08:00
parent c9b3b007cd
commit 87b3eee1e6
2 changed files with 5 additions and 1 deletions

View File

@ -125,6 +125,7 @@
# Default email recipients are set in Jenkins global config # Default email recipients are set in Jenkins global config
- defaults: - defaults:
name: global name: global
disable_job: false
emails: '$DEFAULT_RECIPIENTS' emails: '$DEFAULT_RECIPIENTS'
cron-string: 'H/30 * * * *' cron-string: 'H/30 * * * *'
# How long to wait after sending TERM to send KILL (minutes) # How long to wait after sending TERM to send KILL (minutes)

View File

@ -15,7 +15,7 @@
description: '{description} Test owner: {test-owner}.' description: '{description} Test owner: {test-owner}.'
logrotate: logrotate:
daysToKeep: 7 daysToKeep: 7
disabled: false disabled: '{obj:disable_job}'
builders: builders:
- shell: | - shell: |
{provider-env} {provider-env}
@ -479,6 +479,9 @@
description: 'Run slow E2E tests on latest Trusty build.' description: 'Run slow E2E tests on latest Trusty build.'
timeout: 270 timeout: 270
- 'dev-slow': - 'dev-slow':
# Constantly failing due to a known issue of the image. Disabled
# until the issue is resolved.
disable_job: true
description: 'Run slow E2E tests on latest Trusty dev build.' description: 'Run slow E2E tests on latest Trusty dev build.'
timeout: 270 timeout: 270
- 'beta-slow': - 'beta-slow':