You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/07/31 08:12:13 UTC
[GitHub] zentol commented on a change in pull request #6433:
[FLINK-9946][tests] Expose Flink version to E2E tests
zentol commented on a change in pull request #6433: [FLINK-9946][tests] Expose Flink version to E2E tests
URL: https://github.com/apache/flink/pull/6433#discussion_r206432693
##########
File path: flink-end-to-end-tests/test-scripts/common.sh
##########
@@ -36,6 +36,8 @@ export EXIT_CODE=0
echo "Flink dist directory: $FLINK_DIR"
+FLINK_VERSION=$(cat ${END_TO_END_DIR}/pom.xml | sed -n 's/[[:blank:]]\+<version>\([a-zA-Z0-9\.-]\+\)<\/version>/\1/p')
Review comment:
`sed` is used in all of our E2E tests.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services