mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 02:46:30 +00:00
gdrive update1
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user