gdrive update1

This commit is contained in:
dzaitsev
2025-05-04 15:26:35 +03:00
parent b776576b76
commit 61ca5c2899
+1 -2
View File
@@ -89,8 +89,7 @@ pipeline {
if (\$filesToDelete.Count -gt 0) { if (\$filesToDelete.Count -gt 0) {
\$tempFile = [System.IO.Path]::GetTempFileName() \$tempFile = [System.IO.Path]::GetTempFileName()
\$filesToDelete | Out-File -FilePath \$tempFile -Encoding utf8 \$filesToDelete | Out-File -FilePath \$tempFile -Encoding utf8
W Write-Output "Contents of temporary delete list file (\$tempFile):"
rite-Output "Contents of temporary delete list file (\$tempFile):"
Get-Content \$tempFile Get-Content \$tempFile
rclone delete AzaionGoogleDrive:${params.GOOGLE_DRIVE_FOLDER} --files-from \$tempFile rclone delete AzaionGoogleDrive:${params.GOOGLE_DRIVE_FOLDER} --files-from \$tempFile