summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-01-10 08:08:27 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-01-10 07:10:54 +0000
commit51a13d8012c56d887855b463f447f1fd618d4361 (patch)
tree6038ff92e0c98165a03aacc2f1ce378109b2c8e0
parentcf691f1bac6dab4ff462c01ad3cd69125088d312 (diff)
Move jvpp_version file to jvpp dir 1/2
Change-Id: I1d7132152561cd8417632ccc16942e2b527f9aa4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
-rwxr-xr-xjvpp/install_from_package.sh2
-rwxr-xr-xjvpp/install_from_vpp_build_dir.sh2
-rwxr-xr-xjvpp/version8
3 files changed, 10 insertions, 2 deletions
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