mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 06:36:31 +00:00
gdrive update1
This commit is contained in:
@@ -89,8 +89,10 @@ pipeline {
|
||||
if (\$filesToDelete.Count -gt 0) {
|
||||
\$tempFile = [System.IO.Path]::GetTempFileName()
|
||||
\$filesToDelete | Out-File -FilePath \$tempFile -Encoding utf8
|
||||
|
||||
rclone delete AzaionGoogleDrive:${params.GOOGLE_DRIVE_FOLDER} --files-from \$tempFile --drive-chunk-size 64M
|
||||
W
|
||||
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
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user