diff --git a/auditbeat/Jenkinsfile.yml b/auditbeat/Jenkinsfile.yml index 6bd6766bae5..de0a4ae491f 100644 --- a/auditbeat/Jenkinsfile.yml +++ b/auditbeat/Jenkinsfile.yml @@ -35,13 +35,11 @@ stages: build: mage: "mage build test" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack crosscompile: make: "make -C auditbeat crosscompile" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack macos: mage: "mage build unitTest" platforms: ## override default label in this specific stage. @@ -62,8 +60,7 @@ stages: #- "windows-7-32-bit" https://github.com/elastic/beats/issues/19831 #- "windows-2008-r2" https://github.com/elastic/beats/issues/19799 when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack windows-2016: mage: "mage build unitTest" platforms: ## override default labels in this specific stage. diff --git a/filebeat/Jenkinsfile.yml b/filebeat/Jenkinsfile.yml index a589505d085..964ee8dfd53 100644 --- a/filebeat/Jenkinsfile.yml +++ b/filebeat/Jenkinsfile.yml @@ -36,8 +36,7 @@ stages: mage: "mage build test" withModule: true ## run the ITs only if the changeset affects a specific module. when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack macos: mage: "mage build unitTest" platforms: ## override default label in this specific stage. @@ -57,8 +56,7 @@ stages: - "windows-2019" #- "windows-2008-r2" https://github.com/elastic/beats/issues/19795 when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack windows-2016: mage: "mage build unitTest" platforms: ## override default labels in this specific stage. diff --git a/heartbeat/Jenkinsfile.yml b/heartbeat/Jenkinsfile.yml index 46ded53791d..b4ccf0a548b 100644 --- a/heartbeat/Jenkinsfile.yml +++ b/heartbeat/Jenkinsfile.yml @@ -35,8 +35,7 @@ stages: build: mage: "mage build test" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack macos: mage: "mage build unitTest" platforms: ## override default label in this specific stage. @@ -55,8 +54,7 @@ stages: platforms: ## override default labels in this specific stage. - "windows-2019" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack windows-2016: mage: "mage build unitTest" platforms: ## override default labels in this specific stage. diff --git a/journalbeat/Jenkinsfile.yml b/journalbeat/Jenkinsfile.yml index d73136dd3ad..3f21f7dad4a 100644 --- a/journalbeat/Jenkinsfile.yml +++ b/journalbeat/Jenkinsfile.yml @@ -35,5 +35,4 @@ stages: unitTest: mage: "mage build unitTest" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack diff --git a/libbeat/Jenkinsfile.yml b/libbeat/Jenkinsfile.yml index 86180a18ddb..57ec6319076 100644 --- a/libbeat/Jenkinsfile.yml +++ b/libbeat/Jenkinsfile.yml @@ -32,15 +32,12 @@ stages: build: mage: "mage build test" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack crosscompile: make: "make -C libbeat crosscompile" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack stress-tests: make: "make STRESS_TEST_OPTIONS='-timeout=20m -race -v -parallel 1' -C libbeat stress-tests" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack diff --git a/metricbeat/Jenkinsfile.yml b/metricbeat/Jenkinsfile.yml index 9fd4c50c549..4ef7caf47a7 100644 --- a/metricbeat/Jenkinsfile.yml +++ b/metricbeat/Jenkinsfile.yml @@ -22,25 +22,21 @@ stages: unitTest: mage: "mage build unitTest" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack goIntegTest: mage: "mage goIntegTest" withModule: true when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack pythonIntegTest: mage: "mage pythonIntegTest" withModule: true when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack crosscompile: make: "make -C metricbeat crosscompile" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack macos: mage: "mage build unitTest" platforms: ## override default label in this specific stage. @@ -61,8 +57,7 @@ stages: #- "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: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack windows-2016: mage: "mage build unitTest" platforms: ## override default labels in this specific stage. diff --git a/packetbeat/Jenkinsfile.yml b/packetbeat/Jenkinsfile.yml index c17af352ac2..5f03e298ee5 100644 --- a/packetbeat/Jenkinsfile.yml +++ b/packetbeat/Jenkinsfile.yml @@ -35,8 +35,7 @@ stages: build: mage: "mage build test" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack macos: mage: "mage build unitTest" platforms: ## override default label in this specific stage. @@ -55,8 +54,7 @@ stages: platforms: ## override default labels in this specific stage. - "windows-2019" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack windows-2016: mage: "mage build unitTest" platforms: ## override default labels in this specific stage. diff --git a/winlogbeat/Jenkinsfile.yml b/winlogbeat/Jenkinsfile.yml index 9af4e116f9a..28ce882953f 100644 --- a/winlogbeat/Jenkinsfile.yml +++ b/winlogbeat/Jenkinsfile.yml @@ -22,16 +22,14 @@ stages: crosscompile: make: "make -C winlogbeat crosscompile" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack windows: mage: "mage build unitTest" platforms: ## override default labels in this specific stage. - "windows-2019" - "windows-2008-r2" when: ## Override the top-level when. - not_changeset: - - "^x-pack/.*" ## A generic match + not_changeset_full_match: "^x-pack/.*" ## Disable the stage if ONLY changes for the x-pack windows-2016: mage: "mage build unitTest" platforms: ## override default labels in this specific stage.