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 Build Plugin

googleCloudBuild: Execute Google Cloud Build

This build step invokes Google Cloud Build.
  • input
      Nested Object
    • credentialsId : String
    • request
        Nested Choice of Objects
      • file
        • filename : String
          The path to the YAML build request file to pass to Google Cloud Build.
      • inline
        • request : String
          The YAML Build Request to pass to Google Cloud Build.
    • source (optional)
        Nested Choice of Objects
      • local
        • path : String
          The source to use in the build request. This may be either:
          • A path to a file within the workspace. The file must be a compressed gzipped tarball (.tgz or .tar.gz) or zip file (.zip), or
          • A path to a directory within the workspace. The contents of the directory will be archived as a gzipped tarball (.tgz) and uploaded to a temporary Cloud Storage bucket.
      • repo
        • branch : String (optional)
        • commit : String (optional)
        • projectId : String (optional)
          ID of the project that owns the repo. If omitted, the project ID requesting the build is assumed.
        • repoName : String (optional)
          Name of the repo. If omitted, the name "default" is assumed.
        • tag : String (optional)
      • storage
        • bucket : String
        • object : String
    • substitutionList (optional)
        Nested Object
      • items
        User-defined substitutions to be added to the build request. The set of user-defined substitutions referenced in the build request must exactly match the set of substitutions defined here. For details, see Build Requests - User-defined substitutions.
          Array / List of Nested Object
        • key : String
          The name of the user-defined substitution. This must begin with an underscore (_) and use only numbers, uppercase letters, and underscores (respecting the regular expression _[A-Z0-9_]+). The key may not be longer than 100 characters. For details, see Build Requests - User-defined substitutions.
        • value : String
          The value of the user-defined substitution. This must not expand to longer than 100 characters. For details, see Build Requests - User-defined substitutions.
    • substitutions (optional)
      • Type: java.util.Map<java.lang.String, java.lang.String>

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.