From 8574e10b52b87031177058bd67710ed148a8c599 Mon Sep 17 00:00:00 2001 From: dzaitsev Date: Sun, 4 May 2025 14:41:37 +0300 Subject: [PATCH] gdrive update --- build/jenkins/GDriveUpload | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/jenkins/GDriveUpload b/build/jenkins/GDriveUpload index 72e06cf..de93c41 100644 --- a/build/jenkins/GDriveUpload +++ b/build/jenkins/GDriveUpload @@ -7,8 +7,7 @@ pipeline { environment { GOOGLE_DRIVE_UPLOAD_JOB_NAME = 'AzaionBuilds' // <<== Update this - RCLONE_CONFIG = 'C:/Program Files/rclone/rclone.conf' // <<== Ensure this points to the correct location of your rclone.conf - + RCLONE_CONFIG = 'C:/Program Files/rclone/rclone.conf' // Ensure this points to the correct location } stages { @@ -61,6 +60,9 @@ 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 + # Use rclone to upload the file to Google Drive rclone copy "\$filePath" remote:YourFolderNameOnGDrive --progress --drive-chunk-size 64M """