Fix ap log path on s3 (#5257)

* Fix typo when calling upload_to_s3.py

Signed-off-by: shiranj <shiranj@amazon.com>

* Remove space in extra_args

Signed-off-by: shiranj <shiranj@amazon.com>
This commit is contained in:
Shirang Jia
2021-11-03 10:45:12 -07:00
committed by GitHub
parent 52bae87a93
commit d584732116
+1 -1
View File
@@ -450,7 +450,7 @@ def UploadAPLogs(Map options, String branchName, String jobName, String workspac
def command = "${pythonPath} -u ${s3UploadScriptPath} --base_dir ${apLogsPath} " +
"--file_regex \".*\" --bucket ${env.AP_LOGS_S3_BUCKET} " +
"--search_subdirectories True --key_prefix ${env.JENKINS_JOB_NAME}/${branchName}/${env.BUILD_NUMBER}/${jobName} " +
"--extra_args {\"ACL\": \"bucket-owner-full-control\"}"
'--extra_args {\\"ACL\\":\\"bucket-owner-full-control\\"}'
palSh(command, "Uploading AP logs for job ${jobName} for branch ${branchName}", false)
}
}