From 41c2ed37c1e3c29c5c903be26ae1010ac3be35a6 Mon Sep 17 00:00:00 2001 From: dzaitsev Date: Sun, 4 May 2025 14:43:16 +0300 Subject: [PATCH] gdrive update --- build/jenkins/GDriveUpload | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build/jenkins/GDriveUpload b/build/jenkins/GDriveUpload index de93c41..1d9bcae 100644 --- a/build/jenkins/GDriveUpload +++ b/build/jenkins/GDriveUpload @@ -60,8 +60,11 @@ pipeline { \$filePath = "C:/Jenkins/workspace/AzaionSuite/suite/${env.LATEST_ZIP_FILENAME}" Write-Output "Preparing to upload: \$filePath" - # Ensure rclone uses the correct config file path - \$env:RCLONE_CONFIG = 'C:/Program Files/rclone/rclone.conf' # Explicitly set environment variable for this step + # Display the contents of the rclone configuration file to ensure it's being read correctly + 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 rclone copy "\$filePath" remote:YourFolderNameOnGDrive --progress --drive-chunk-size 64M