- # we should have the artifact itself downloaded by now
- # look if it is there
- if [ -f $WORKSPACE/opnfv.iso ]; then
- echo "Artifact fetched!"
- ls -al $WORKSPACE/opnfv.iso
- else
- echo "Artifact does not exist!"
- exit 1
- fi
-
- # we should have the artifact properties file downloaded by now
- # look if it is there
- if [ -f $WORKSPACE/latest.properties ]; then
- echo "Artifact properties file fetched!"
- ls -al $WORKSPACE/latest.properties
- else
- echo "Artifact properties file does not exist!"
- exit 1
- fi
-
- # source the file so we get OPNFV vars
- source $WORKSPACE/latest.properties
-
- # log the info
- echo "Proceeding with deployment using ISO downloaded from below URL"
- echo "$OPNFV_ARTIFACT_URL"
- echo "This artifact was built using $OPNFV_GIT_SHA1 version of repo $OPNFV_GIT_URL"
-
- # execute deploy.sh
- echo "Here is where we are supposed to issue deploy.sh"
+ # this is just a quick fix to execute the deployment in a messy way
+ # will be fixed later on
+ ssh cideploy@10.118.34.205 ./cideploy.sh