Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: nightly/weekly builds for 7.x targeting 7.16 instead #28612

Merged
merged 1 commit into from
Oct 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .ci/schedule-daily.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pipeline {
stage('Nighly beats builds') {
steps {
runBuild(quietPeriod: 0, job: 'Beats/beats/master')
runBuild(quietPeriod: 2000, job: 'Beats/beats/7.x')
runBuild(quietPeriod: 4000, job: 'Beats/beats/7.<minor>')
runBuild(quietPeriod: 2000, job: 'Beats/beats/7.16')
runBuild(quietPeriod: 4000, job: 'Beats/beats/7.15')
}
}
}
Expand All @@ -35,9 +35,5 @@ pipeline {

def runBuild(Map args = [:]) {
def jobName = args.job
if (jobName.contains('7.<minor>')) {
def parts = stackVersions.release().split('\\.')
jobName = args.job.replaceAll('<minor>', parts[1])
}
build(quietPeriod: args.quietPeriod, job: jobName, parameters: [booleanParam(name: 'macosTest', value: true)], wait: false, propagate: false)
}
11 changes: 3 additions & 8 deletions .ci/schedule-weekly.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ pipeline {
cron('H H(1-2) * * 0')
}
stages {
stage('Nighly beats builds') {
stage('Weekly beats builds') {
steps {
runBuild(quietPeriod: 0, job: 'Beats/beats/master')
runBuild(quietPeriod: 1000, job: 'Beats/beats/7.x')
// <minor> is an alias to be replaced with the latest release branch
runBuild(quietPeriod: 2000, job: 'Beats/beats/7.<minor>')
runBuild(quietPeriod: 1000, job: 'Beats/beats/7.16')
runBuild(quietPeriod: 2000, job: 'Beats/beats/7.15')
}
}
}
Expand All @@ -36,9 +35,5 @@ pipeline {

def runBuild(Map args = [:]) {
def jobName = args.job
if (jobName.contains('7.<minor>')) {
def parts = stackVersions.release().split('\\.')
jobName = args.job.replaceAll('<minor>', parts[1])
}
build(quietPeriod: args.quietPeriod, job: jobName, parameters: [booleanParam(name: 'awsCloudTests', value: true)], wait: false, propagate: false)
}