Skip to content

Commit 71da9c3

Browse files
authored
Check kibana version condition value (elastic#4747)
Kibana version condition can be defined in two different ways, and the code is updated accordingly.
1 parent 266f8ef commit 71da9c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.ci/Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ def isPrAffected(integrationName) {
260260
// Packages supported in Kibana >= 8.0.0, shouldn't be included in daily tests of the stack 7.x
261261
if (manifest != null && manifest['conditions'] != null) {
262262
def kibanaVersionCondition = manifest['conditions']['kibana.version']
263+
if (kibanaVersionCondition == null) {
264+
kibanaVersionCondition = manifest['conditions']['kibana']['version']
265+
}
266+
263267
if (kibanaVersionCondition != null) {
264268
if (!kibanaVersionCondition.contains('^7.') && "${env.STACK_VERSION}".startsWith('7.')) {
265269
echo "[${integrationName}] PR is not affected: unsupported stack (7.x)"

0 commit comments

Comments
 (0)