From 87b3eee1e61ddaa9dcce1ae30d4f0017b2a450bb Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Thu, 10 Mar 2016 16:50:43 -0800 Subject: [PATCH] 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. --- hack/jenkins/job-configs/global.yaml | 1 + .../job-configs/kubernetes-jenkins/kubernetes-e2e.yaml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/job-configs/global.yaml b/hack/jenkins/job-configs/global.yaml index 12cc9155773be..0a753676bb0f1 100644 --- a/hack/jenkins/job-configs/global.yaml +++ b/hack/jenkins/job-configs/global.yaml @@ -125,6 +125,7 @@ # Default email recipients are set in Jenkins global config - defaults: name: global + disable_job: false emails: '$DEFAULT_RECIPIENTS' cron-string: 'H/30 * * * *' # How long to wait after sending TERM to send KILL (minutes) diff --git a/hack/jenkins/job-configs/kubernetes-jenkins/kubernetes-e2e.yaml b/hack/jenkins/job-configs/kubernetes-jenkins/kubernetes-e2e.yaml index 3395e65689e19..826c45ffdabae 100644 --- a/hack/jenkins/job-configs/kubernetes-jenkins/kubernetes-e2e.yaml +++ b/hack/jenkins/job-configs/kubernetes-jenkins/kubernetes-e2e.yaml @@ -15,7 +15,7 @@ description: '{description} Test owner: {test-owner}.' logrotate: daysToKeep: 7 - disabled: false + disabled: '{obj:disable_job}' builders: - shell: | {provider-env} @@ -479,6 +479,9 @@ description: 'Run slow E2E tests on latest Trusty build.' timeout: 270 - '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.' timeout: 270 - 'beta-slow':