echo"Deployment of $MICROSITE_SITE_URL [$FILE_NAME] for Server [$SERVER_NAME] - $DEPLOY_STATUS">>${DEPLOYMENT_LOG_MAIN_FOLDER}/${DEPLOYMENT_STATUS_LOGFILE}
}
# Catch the errors which are generated by the current script.
trap'on_script_exit "$LINENO" $?' ERR EXIT
trap'on_script_exit "$LINENO" $?' EXIT
# Go to the deploy path i.e wordpress installation path to trigger 'wp' commands.