gdrive update

This commit is contained in:
dzaitsev
2025-05-04 14:43:16 +03:00
parent 8574e10b52
commit 41c2ed37c1
+5 -2
View File
@@ -60,8 +60,11 @@ pipeline {
\$filePath = "C:/Jenkins/workspace/AzaionSuite/suite/${env.LATEST_ZIP_FILENAME}" \$filePath = "C:/Jenkins/workspace/AzaionSuite/suite/${env.LATEST_ZIP_FILENAME}"
Write-Output "Preparing to upload: \$filePath" Write-Output "Preparing to upload: \$filePath"
# Ensure rclone uses the correct config file path # Display the contents of the rclone configuration file to ensure it's being read correctly
\$env:RCLONE_CONFIG = 'C:/Program Files/rclone/rclone.conf' # Explicitly set environment variable for this step Get-Content 'C:/Program Files/rclone/rclone.conf'
# Explicitly set the rclone config path
\$env:RCLONE_CONFIG = 'C:/Program Files/rclone/rclone.conf'
# Use rclone to upload the file to Google Drive # Use rclone to upload the file to Google Drive
rclone copy "\$filePath" remote:YourFolderNameOnGDrive --progress --drive-chunk-size 64M rclone copy "\$filePath" remote:YourFolderNameOnGDrive --progress --drive-chunk-size 64M