Skip to content

Commit d5776ad

Browse files
committed
[CI] Optional stage instead the mandatory one
windows stage is mandatory, but optional stages are not mandatory for PRs
1 parent 84bd2c7 commit d5776ad

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

metricbeat/Jenkinsfile.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ stages:
5454
mage: "mage build unitTest"
5555
platforms: ## override default labels in this specific stage.
5656
- "windows-2019"
57-
- "windows-2008-r2" ## https://github.com/elastic/beats/issues/19800
5857
#- "windows-7-32-bit" https://github.com/elastic/beats/issues/19835
5958
when: ## Override the top-level when.
6059
not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack
@@ -102,6 +101,17 @@ stages:
102101
- "windows-8"
103102
branches: true ## for all the branches
104103
tags: true ## for all the tags
104+
windows-2008:
105+
mage: "mage build unitTest"
106+
platforms: ## override default labels in this specific stage.
107+
- "windows-2008-r2"
108+
when: ## Override the top-level when.
109+
comments:
110+
- "/test metricbeat for windows-2008"
111+
labels:
112+
- "windows-2008"
113+
branches: true ## for all the branches
114+
tags: true ## for all the tags
105115
windows-7:
106116
mage: "mage build unitTest"
107117
platforms: ## override default labels in this specific stage.

0 commit comments

Comments
 (0)