diff --git a/.ci/e2eKibana.groovy b/.ci/e2eKibana.groovy index 33777a0cd9..53a4e9a7fd 100644 --- a/.ci/e2eKibana.groovy +++ b/.ci/e2eKibana.groovy @@ -126,7 +126,7 @@ def runE2ETests(String suite) { build(job: "${e2eTestsPipeline}", parameters: parameters, - propagate: false, + propagate: true, wait: false ) diff --git a/.ci/e2eTestingFleetDaily.groovy b/.ci/e2eTestingFleetDaily.groovy index a4accfe69b..d6e9f49eb1 100644 --- a/.ci/e2eTestingFleetDaily.groovy +++ b/.ci/e2eTestingFleetDaily.groovy @@ -49,7 +49,7 @@ pipeline { string(name: 'runTestsSuites', value: 'fleet'), string(name: 'SLACK_CHANNEL', value: "elastic-agent"), ], - propagate: false, + propagate: true, wait: false ) } diff --git a/.ci/e2eTestingHelmDaily.groovy b/.ci/e2eTestingHelmDaily.groovy index 16bcc915bd..e134fb2a3b 100644 --- a/.ci/e2eTestingHelmDaily.groovy +++ b/.ci/e2eTestingHelmDaily.groovy @@ -47,7 +47,7 @@ pipeline { string(name: 'runTestsSuites', value: 'helm'), string(name: 'SLACK_CHANNEL', value: "infra-release-notify,integrations"), ], - propagate: false, + propagate: true, wait: false ) } diff --git a/.ci/e2eTestingIntegrationsDaily.groovy b/.ci/e2eTestingIntegrationsDaily.groovy index d6b54eb139..2e4ac9fd1c 100644 --- a/.ci/e2eTestingIntegrationsDaily.groovy +++ b/.ci/e2eTestingIntegrationsDaily.groovy @@ -48,7 +48,7 @@ pipeline { string(name: 'runTestsSuites', value: 'metricbeat'), string(name: 'SLACK_CHANNEL', value: "beats-build"), ], - propagate: false, + propagate: true, wait: false ) } diff --git a/.ci/e2eTestingK8SAutodiscoveryDaily.groovy b/.ci/e2eTestingK8SAutodiscoveryDaily.groovy new file mode 100644 index 0000000000..26f7bc7f4a --- /dev/null +++ b/.ci/e2eTestingK8SAutodiscoveryDaily.groovy @@ -0,0 +1,61 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +@Library('apm@current') _ + +pipeline { + agent none + environment { + JOB_GCS_BUCKET = credentials('gcs-bucket') + NOTIFY_TO = credentials('notify-to') + PIPELINE_LOG_LEVEL='INFO' + } + options { + timeout(time: 1, unit: 'HOURS') + buildDiscarder(logRotator(numToKeepStr: '20', artifactNumToKeepStr: '20')) + timestamps() + ansiColor('xterm') + disableResume() + durabilityHint('PERFORMANCE_OPTIMIZED') + rateLimitBuilds(throttle: [count: 60, durationName: 'hour', userBoost: true]) + quietPeriod(10) + } + triggers { + cron('H H(4-5) * * 1-5') + } + stages { + stage('Run Tests') { + steps { + build(job: "e2e-tests/e2e-testing-mbp/${env.JOB_BASE_NAME}", + parameters: [ + booleanParam(name: 'forceSkipGitChecks', value: true), + booleanParam(name: 'forceSkipPresubmit', value: true), + string(name: 'runTestsSuites', value: 'kubernetes-autodiscover'), + string(name: 'SLACK_CHANNEL', value: "integrations"), + ], + propagate: true, + wait: false + ) + } + } + } + post { + cleanup { + notifyBuildResult() + } + } +}