Skip to content

Commit

Permalink
Fix flaky tests for Metricbeat on Windows 2008 R2 (#23490) (#23508)
Browse files Browse the repository at this point in the history
* enable 2008

* [CI] Optional stage instead the mandatory one

windows stage is mandatory, but optional stages are not mandatory for PRs

Co-authored-by: Victor Martinez <VictorMartinezRubio@gmail.com>
(cherry picked from commit 9283a6f)
  • Loading branch information
narph committed Jan 15, 2021
1 parent b902a18 commit 3b9cf8b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
#- "windows-2008-r2" https://github.com/elastic/beats/issues/19800
#- "windows-7-32-bit" https://github.com/elastic/beats/issues/19835
when: ## Override the top-level when.
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
Expand Down Expand Up @@ -112,6 +111,17 @@ stages:
- "windows-8"
branches: true ## for all the branches
tags: true ## for all the tags
windows-2008:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2008-r2"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-2008"
labels:
- "windows-2008"
branches: true ## for all the branches
tags: true ## for all the tags
windows-7:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down

0 comments on commit 3b9cf8b

Please sign in to comment.