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.
googleStorageUpload
: Google Storage Classic UploadcredentialsId
String
bucket
String
pattern
String
pathPrefix
(optional)
String
sharedPublicly
(optional)
boolean
showInline
(optional)
boolean
googleStorageDownload
: Google Storage DownloadcredentialsId
String
bucketUri
This specifies the cloud object to download from Cloud Storage. You can view these by visiting the "Cloud Storage" section of the Cloud Console for your project.
A single asterisk can be specified in the object path (not the bucket name), past the last "/". The asterisk behaves consistently with gsutil. For example, gs://my-bucket-name/pre/a_*.txt
would match the objects in cloud bucket my-bucket-name
that are named pre/a_2.txt
or pre/a_abc23-4.txt
, but not pre/a_2/log.txt
.
String
localDirectory
The local directory that will store the downloaded files. The path specified is considered relative to the build's workspace. Example value:
String
pathPrefix
(optional)
The specified prefix will be stripped from all downloaded filenames. Filenames that do not start with this prefix will not be modified. If this prefix does not have a trailing slash, it will be added automatically.
String
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.