}
// Check if the user has cancelled the process
if (Thread.currentThread().isInterrupted()) {
return;
}
BackupResult result = createProjectBackup();
File backupFolder = result.getBackupFolder();
if (backupFolder != null) {
uploadBackup(backupFolder);
} else if (!result.noBackupNeeded()) {
// An attempt was made to create a backup, but something went wrong
logFailureToDeployLog();
}
}