diff options
author | yangyan <yangyanyj@chinamobile.com> | 2018-04-13 13:13:08 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2018-04-13 13:13:19 +0800 |
commit | 700a95bed7d2d2ab1cb6e75ea1e4391dc8e76f50 (patch) | |
tree | 52e898e99ce3f3c6c240ca24d99505e065af3c4e | |
parent | b754227da778e1e835336ae39e304ffc8059a009 (diff) |
Fix docker build error
Issue-ID: VFC-880
Change-Id: I381206efc096954f021a864520dc51828fbda131
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-x | nokiav2/deployment/src/main/resources/build_image.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nokiav2/deployment/src/main/resources/build_image.sh b/nokiav2/deployment/src/main/resources/build_image.sh index 384c213a..0465374d 100755 --- a/nokiav2/deployment/src/main/resources/build_image.sh +++ b/nokiav2/deployment/src/main/resources/build_image.sh @@ -29,7 +29,8 @@ DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd` echo "----- Build directory ${DOCKER_BUILD_DIR}" cd ${DOCKER_BUILD_DIR} -VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml | sed 's/-SNAPSHOT//g'` +#VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml | sed 's/-SNAPSHOT//g'` +VERSION=`xmlstarlet sel -t -v "/_:project/_:version" ../../../pom.xml` echo "------ Detected version: $VERSION" PROJECT="vfc" |