Skip to content

Commit

Permalink
Specific stage for the windows-2016 to only run when merge to branche…
Browse files Browse the repository at this point in the history
…s and tags by default
  • Loading branch information
v1v committed Oct 2, 2020
1 parent ff9a47c commit 3a21afe
Show file tree
Hide file tree
Showing 12 changed files with 120 additions and 0 deletions.
10 changes: 10 additions & 0 deletions auditbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test auditbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions heartbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test heartbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test metricbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions packetbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test packetbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions winlogbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test winlogbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions x-pack/auditbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test auditbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions x-pack/elastic-agent/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test x-pack/elastic-agent for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions x-pack/filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test x-pack/filebeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions x-pack/functionbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test x-pack/functionbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions x-pack/metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,14 @@ stages:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test x-pack/metricbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions x-pack/packetbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,14 @@ stages:
withModule: true
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test x-pack/winlogbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags
10 changes: 10 additions & 0 deletions x-pack/winlogbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,14 @@ stages:
withModule: true
platforms: ## override default labels in this specific stage.
- "windows-2019"
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
when: ## Override the top-level when.
comments:
- "/test x-pack/winlogbeat for windows-2016"
labels:
- "windows-2016"
branches: true ## for all the branches
tags: true ## for all the tags

0 comments on commit 3a21afe

Please sign in to comment.