diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-12-13 15:48:26 -0500 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-12-13 15:56:09 -0500 |
commit | c0ccf124a5c54ca78489a477a3c01d8463e58796 (patch) | |
tree | 610eb7e7dff48b16c1ca6d7300a5e952814a81be | |
parent | d6a892c75c903a79127c5f70a4e04ebc6e11c54d (diff) |
Fix the hard coded snapshot path to usingv1.1.11.0.1-ONAP1.0.1-Amsterdamamsterdam
maven project version
Issue-ID: AAI-546
Change-Id: Ib8661840d6ea6640293438f65bc1b81cfab30b92
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r-- | src/main/docker/Dockerfile | 4 | ||||
-rw-r--r-- | version.properties | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 1ab49ff..b49f1bb 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ RUN export JAVA_HOME # Build up the deployment folder structure RUN mkdir -p $MICRO_HOME -copy swm/package/nix/dist_files/appl/sparky-be/1.1.0-SNAPSHOT/ $MICRO_HOME/ +copy swm/package/nix/dist_files/appl/sparky-be/${project.version}/ $MICRO_HOME/ RUN ls -la $MICRO_HOME/ RUN mkdir -p $BIN_HOME COPY *.sh $BIN_HOME/ @@ -26,4 +26,4 @@ EXPOSE 8000 8000 CMD tail -F -n0 /etc/hosts CMD /opt/app/sparky/bin/start.sh -#CMD top
\ No newline at end of file +#CMD top diff --git a/version.properties b/version.properties index 325432a..55fbf44 100644 --- a/version.properties +++ b/version.properties @@ -4,10 +4,10 @@ major=1 minor=1 -patch=0 +patch=1 base_version=${major}.${minor}.${patch} # Release must be completed with git revision # in Jenkins release_version=${base_version} -snapshot_version=${base_version}-SNAPSHOT
\ No newline at end of file +snapshot_version=${base_version}-SNAPSHOT |