mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:46:30 +00:00
gdrive update
This commit is contained in:
@@ -6,7 +6,7 @@ pipeline {
|
||||
}
|
||||
|
||||
environment {
|
||||
GOOGLE_DRIVE_UPLOAD_JOB_NAME = 'AzaionBuilds' // <<== Update this
|
||||
GOOGLE_DRIVE_UPLOAD_JOB_NAME = 'AzaionSuiteBuilds' // <<== Update this
|
||||
RCLONE_CONFIG = 'C:/Program Files/rclone/rclone.conf' // Ensure this points to the correct location
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ pipeline {
|
||||
\$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
|
||||
rclone copy "\$filePath" AzaionGoogleDrive:YourFolderNameOnGDrive --progress --drive-chunk-size 64M
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user