The build_vcpe_vgmux.yaml contains install_script_version parameter in
nexus artifact url. This parameter is changed to script_version.
Issue-ID: INT-615
Change-Id: I80ce688ff09b07069661d449abeb6b78da1667d3
Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
# Download and run install script
apt-get -y install unzip
if [[ "__script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
# Download and run install script
apt-get -y install unzip
if [[ "__script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
- curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=__install_script_version__" -o /opt/vcpe-scripts-__script_version__.zip
+ curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vcpe&a=vcpe-scripts&e=zip&v=__script_version__" -o /opt/vcpe-scripts-__script_version__.zip
unzip -j /opt/vcpe-scripts-__script_version__.zip -d /opt v_gmux_build.sh
cd /opt
chmod +x v_gmux_build.sh
unzip -j /opt/vcpe-scripts-__script_version__.zip -d /opt v_gmux_build.sh
cd /opt
chmod +x v_gmux_build.sh