gdrive update1

This commit is contained in:
dzaitsev
2025-05-04 15:25:36 +03:00
parent eddd3f2052
commit b776576b76
+4 -2
View File
@@ -89,8 +89,10 @@ 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
rclone delete AzaionGoogleDrive:${params.GOOGLE_DRIVE_FOLDER} --files-from \$tempFile --drive-chunk-size 64M rite-Output "Contents of temporary delete list file (\$tempFile):"
Get-Content \$tempFile
rclone delete AzaionGoogleDrive:${params.GOOGLE_DRIVE_FOLDER} --files-from \$tempFile
Remove-Item -Path \$tempFile Remove-Item -Path \$tempFile
} else { } else {