Set docker version to be from version properties

Change-Id: I9a6e25c25cc3587b7c03ea24d04dc7b8e29d7d17
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
diff --git a/jjb/include-docker-push.sh b/jjb/include-docker-push.sh
index 30aa32d..7b42fcd 100644
--- a/jjb/include-docker-push.sh
+++ b/jjb/include-docker-push.sh
@@ -3,7 +3,19 @@
 DOCKER_REPOSITORY="nexus3.openecomp.org:10003"
 SEARCH="aai-service";
 DATETIME_STAMP=$(date +%Y%m%dT%H%M%S);
-VERSION=1.0.0;
+VERSION_FILE="version.properties"
+
+# Check for the version file
+# If it exists, load the version from that file
+# If not found, then use the current version as 1.1.0 for docker images
+if [ -f "$VERSION_FILE" ]; then
+    source $VERSION_FILE;
+    VERSION=$release_version;
+else
+    VERSION=1.1.0;
+fi
+
+
 SNAPSHOT_TAG=${VERSION}-SNAPSHOT-${DATETIME_STAMP};
 STAGING_TAG=${VERSION}-STAGING-${DATETIME_STAMP};