From ff3c67b1c1f5bf5c2cdd45945c5626d7f72bd9de Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Wed, 10 Jan 2018 08:08:27 +0100 Subject: Move jvpp_version file to jvpp dir 1/2 Change-Id: I1d7132152561cd8417632ccc16942e2b527f9aa4 Signed-off-by: Marek Gradzki (cherry picked from commit 51a13d8012c56d887855b463f447f1fd618d4361) --- jvpp/install_from_package.sh | 2 +- jvpp/install_from_vpp_build_dir.sh | 2 +- jvpp/version | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100755 jvpp/version diff --git a/jvpp/install_from_package.sh b/jvpp/install_from_package.sh index f196f3ab0..27ab0c8c6 100755 --- a/jvpp/install_from_package.sh +++ b/jvpp/install_from_package.sh @@ -16,7 +16,7 @@ JARS=$(find "$JAR_DIR" -type f -iname 'jvpp-*.jar') echo "Found:" echo "$JARS" -JVPP_VERSION=`$DIR_NAME/../jvpp-version` +JVPP_VERSION=`$DIR_NAME/version` echo "Target jvpp version: $JVPP_VERSION" for i in ${JARS} diff --git a/jvpp/install_from_vpp_build_dir.sh b/jvpp/install_from_vpp_build_dir.sh index 06c1b1bff..ca115b0f7 100755 --- a/jvpp/install_from_vpp_build_dir.sh +++ b/jvpp/install_from_vpp_build_dir.sh @@ -17,7 +17,7 @@ JARS="$(find "$VPP_DIR/build-root/install-vpp-native/vpp/share/java/" -type f -i echo "Found:" echo "$JARS" -JVPP_VERSION=`$DIR_NAME/../jvpp-version` +JVPP_VERSION=`$DIR_NAME/version` echo "Target jvpp version: $JVPP_VERSION" for i in ${JARS} diff --git a/jvpp/version b/jvpp/version new file mode 100755 index 000000000..b2482d7e2 --- /dev/null +++ b/jvpp/version @@ -0,0 +1,8 @@ +#!/bin/sh +# +# Defines jvpp version used by hc2vpp-integration job +# which produces honeycomb DEB and RPM artifacts. +# +# Version should match the one used in pom files. +# +echo 18.01-SNAPSHOT -- cgit 1.2.3-korg