#!/bin/sh
storage_config_file='/var/lib/jenkins/com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.xml'
download_config_file='/var/lib/jenkins/jobs/1. Download Dependencies. Invoked by pipeline/config.xml/config.xml'
upload_config_file='/var/lib/jenkins/jobs/2. Upload test app. Invoked by pipeline/config.xml'

if [ -f $storage_config_file ]
then
    sudo rm $storage_config_file
fi

if [ -f "$download_config_file" ]
then
    sudo rm "$download_config_file"
fi

if [ -f "$upload_config_file" ]
then
    sudo rm "$upload_config_file"
fi

#!/bin/sh
storage_config_file='/var/lib/jenkins/com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.xml'
download_config_file='/var/lib/jenkins/jobs/AzureStorageDownloadJob/config.xml'
upload_config_file='/var/lib/jenkins/jobs/AzureStorageUploadJob/config.xml'

if [ -f $storage_config_file ]
then
    sudo rm $storage_config_file
fi

if [ -f $download_config_file ]
then
    sudo rm $download_config_file
fi

if [ -f $upload_config_file ]
then
    sudo rm $upload_config_file
fi

--- 
+++ 
@@ -1,19 +1,19 @@
 #!/bin/sh
 storage_config_file='/var/lib/jenkins/com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.xml'
-download_config_file='/var/lib/jenkins/jobs/AzureStorageDownloadJob/config.xml'
-upload_config_file='/var/lib/jenkins/jobs/AzureStorageUploadJob/config.xml'
+download_config_file='/var/lib/jenkins/jobs/1. Download Dependencies. Invoked by pipeline/config.xml/config.xml'
+upload_config_file='/var/lib/jenkins/jobs/2. Upload test app. Invoked by pipeline/config.xml'
 
 if [ -f $storage_config_file ]
 then
     sudo rm $storage_config_file
 fi
 
-if [ -f $download_config_file ]
+if [ -f "$download_config_file" ]
 then
-    sudo rm $download_config_file
+    sudo rm "$download_config_file"
 fi
 
-if [ -f $upload_config_file ]
+if [ -f "$upload_config_file" ]
 then
-    sudo rm $upload_config_file
+    sudo rm "$upload_config_file"
 fi
Fix path for clear storage config script
