From 2a259c1ee7a6bf4b4f033801b266bf3d41ad5d5f Mon Sep 17 00:00:00 2001 From: urso Date: Wed, 1 Apr 2020 14:22:20 +0200 Subject: [PATCH] Add metricbeat as dependency for auditbeat to Pipeline check --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7481790243f..bbfe98d0b41 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -810,8 +810,12 @@ def isChangedXPackCode(patterns) { } def loadConfigEnvVars(){ - env.BUILD_AUDITBEAT = isChanged(["^auditbeat/.*"]) + env.BUILD_AUDITBEAT = isChanged([ + "^metricbeat/.*", + "^auditbeat/.*", + ]) env.BUILD_AUDITBEAT_XPACK = isChangedXPackCode([ + "^metricbeat/.*", "^auditbeat/.*", "^x-pack/auditbeat/.*", ])