OpenSearch/distribution/bwc
Mark Vieira e287427a03
Don't pass OPENSHIFT_IP env variable when building old BWC branches (#50153)
This commit tweaks the workaround introduced in #49211 to support
Gradle 6.0. In the workaround, we specifically override the address
the Gradle daemon binds to by passing the desired address via the
OPENSHIFT_IP environment variable. This works fine for builds using
Gradle 6.0, but for older Gradle versions this causes issues with
inter-daemon communication, specifically when we build BWC branches
not on Gradle 6.0. The fix here is to strip that environment variable
out when building the target BWC branch if that branch is on an
older Gradle version.

This is all temporary and will be removed when this bug fix is released
in Gradle 6.1.

Closes #50025
2019-12-12 14:52:57 -08:00
..
bugfix Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
maintenance Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
minor Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
staged Implement VersionCollection in Java (#34050) 2018-11-01 17:43:57 +02:00
build.gradle Don't pass OPENSHIFT_IP env variable when building old BWC branches (#50153) 2019-12-12 14:52:57 -08:00