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.

Google Cloud Storage plugin

googleStorageUpload: Google Storage Classic Upload

  • credentialsId : String
  • bucket : String
  • pattern : String
  • pathPrefix : String (optional)
  • sharedPublicly : boolean (optional)
  • showInline : boolean (optional)

googleStorageDownload: Google Storage Download

  • credentialsId : String
  • bucketUri : String

    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.

  • localDirectory : String

    The local directory that will store the downloaded files. The path specified is considered relative to the build's workspace. Example value:

    • path/to/dir
  • pathPrefix : String (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.

googleStorageBucketLifecycle: Google Storage Bucket Lifecycle

  • credentialsId : String
  • bucket : String
  • ttl : int

googleStorageBuildLogUpload: Google Storage Build Log Upload

  • credentialsId : String
  • bucket : String
  • logName : String
  • pathPrefix : String (optional)
  • sharedPublicly : boolean (optional)
  • showInline : boolean (optional)

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.