summaryrefslogtreecommitdiffstats
path: root/jvpp
diff options
context:
space:
mode:
Diffstat (limited to 'jvpp')
-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