Skip to content

Commit bf85974

Browse files
author
Stavros Kontopoulos
committed
fix scala string detection in k8s tests
1 parent c71db43 commit bf85974

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

resource-managers/kubernetes/integration-tests/dev/dev-run-integration-tests.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ SERVICE_ACCOUNT=
2929
CONTEXT=
3030
INCLUDE_TAGS="k8s"
3131
EXCLUDE_TAGS=
32-
SCALA_VERSION="$($TEST_ROOT_DIR/build/mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=scala.binary.version | grep -v '\[' )"
32+
MVN="$TEST_ROOT_DIR/build/mvn"
33+
34+
SCALA_VERSION=$("$MVN" help:evaluate -Dexpression=scala.binary.version 2>/dev/null\
35+
| grep -v "INFO"\
36+
| grep -v "WARNING"\
37+
| tail -n 1)
3338

3439
# Parse arguments
3540
while (( "$#" )); do

0 commit comments

Comments
 (0)