The following plugin provides functionality available through
Pipeline-compatible steps. Read more about how to integrate steps into your
Pipeline in the
Steps
section of the
Pipeline Syntax
page.
For a list of other such plugins, see the
Pipeline Steps Reference
page.
Aliyun OSS Uploader
aliyunOSSUpload: Aliyun OSS Upload
endpoint : String
accessKeyId : String
accessKeySecret : String
bucketName : String
localPath : String
Local file or directory, must begin with `/`
remotePath : String
Remote file or directory, must begin with `/`, one local with multiple remotes distination require,pass "," for each remote path
maxRetries : String
objectACL : String (optional)
Leave unspecified to preserve existing upload behavior: no object ACL header is sent. Select default explicitly to inherit the bucket ACL. The access control list (ACL) of the object. Optional; unspecified by default. Valid values:
- default: The ACL of the object is the same as that of the bucket in which the object is stored.
- private: The ACL of the object is private. Only the owner of the object and authorized users have read and write permissions on the object.
- public-read: The ACL of the object is public read. Only the owner of the object and authorized users have read and write permissions on the object. Other users have only read permissions on the object. Exercise caution when you set the object ACL to this value.
- public-read-write: The ACL of the object is public read/write. All users have read and write permissions on the object. Exercise caution when you set the object ACL to this value.
For more information about object ACLs, see
Object ACL.
throwExceptionWhenFilePathNotExisted : boolean (optional)
Fail the build if a configured local upload file or directory does not exist. Disabled by default: missing paths are logged and skipped, preserving the behavior of existing jobs. Enable this option when a missing upload artifact should fail the build.
Was this page helpful?
Please submit your feedback about this page through this
quick form.
Alternatively, if you don't wish to complete the quick form, you can simply
indicate if you found this page helpful?
See existing feedback here.