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

Cherry-pick #18494 to 7.8: Add x-pack filebeat and metricbeat stages for Windows and OSX #18584

Merged
merged 1 commit into from
May 18, 2020
Merged
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
52 changes: 52 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,19 @@ pipeline {
mageTarget("Filebeat oss Mac OS X", "filebeat", "build unitTest")
}
}
stage('Filebeat x-pack Mac OS X'){
agent { label 'macosx' }
options { skipDefaultCheckout() }
when {
beforeAgent true
expression {
return env.BUILD_XPACK_FILEBEAT != "false" && params.macosTest
}
}
steps {
mageTarget("Filebeat x-pack Mac OS X", "x-pack/filebeat", "build unitTest")
}
}
stage('Filebeat Windows'){
agent { label 'windows-immutable && windows-2019' }
options { skipDefaultCheckout() }
Expand All @@ -175,6 +188,19 @@ pipeline {
mageTargetWin("Filebeat oss Windows Unit test", "filebeat", "build unitTest")
}
}
stage('Filebeat x-pack Windows'){
agent { label 'windows-immutable && windows-2019' }
options { skipDefaultCheckout() }
when {
beforeAgent true
expression {
return env.BUILD_FILEBEAT_XPACK != "false" && params.windowsTest
}
}
steps {
mageTargetWin("Filebeat x-pack Windows", "x-pack/filebeat", "build unitTest")
}
}
stage('Heartbeat'){
agent { label 'ubuntu && immutable' }
options { skipDefaultCheckout() }
Expand Down Expand Up @@ -419,6 +445,19 @@ pipeline {
mageTarget("Metricbeat OSS Mac OS X", "metricbeat", "build unitTest")
}
}
stage('Metricbeat x-pack Mac OS X'){
agent { label 'macosx' }
options { skipDefaultCheckout() }
when {
beforeAgent true
expression {
return env.BUILD_METRICBEAT_XPACK != "false" && params.macosTest
}
}
steps {
mageTarget("Metricbeat x-pack Mac OS X", "x-pack/metricbeat", "build unitTest")
}
}
stage('Metricbeat Windows'){
agent { label 'windows-immutable && windows-2019' }
options { skipDefaultCheckout() }
Expand All @@ -432,6 +471,19 @@ pipeline {
mageTargetWin("Metricbeat Windows Unit test", "metricbeat", "build unitTest")
}
}
stage('Metricbeat x-pack Windows'){
agent { label 'windows-immutable && windows-2019' }
options { skipDefaultCheckout() }
when {
beforeAgent true
expression {
return env.BUILD_METRICBEAT_XPACK != "false" && params.windowsTest
}
}
steps {
mageTargetWin("Metricbeat x-pack Windows", "x-pack/metricbeat", "build unitTest")
}
}
stage('Packetbeat'){
agent { label 'ubuntu && immutable' }
options { skipDefaultCheckout() }
Expand Down