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
    • Type: String
  • bucket
    • Type: String
  • pattern
    • Type: String
  • pathPrefix (optional)
    • Type: String
  • sharedPublicly (optional)
    • Type: boolean
  • showInline (optional)
    • Type: boolean

googleStorageDownload: Google Storage Download

  • credentialsId
    • Type: 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.

    • Type: String
  • localDirectory

    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
    • Type: 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.

    • Type: String

googleStorageBucketLifecycle: Google Storage Bucket Lifecycle

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

googleStorageBuildLogUpload: Google Storage Build Log Upload

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

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.