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
      • Type: String
    • request
        Nested Choice of Objects
      • file
        • filename
          The path to the YAML build request file to pass to Google Cloud Build.
          • Type: String
      • inline
        • request
          The YAML Build Request to pass to Google Cloud Build.
          • Type: String
    • source (optional)
        Nested Choice of Objects
      • local
        • path
          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.
          • Type: String
      • repo
        • branch (optional)
          • Type: String
        • commit (optional)
          • Type: String
        • projectId (optional)
          ID of the project that owns the repo. If omitted, the project ID requesting the build is assumed.
          • Type: String
        • repoName (optional)
          Name of the repo. If omitted, the name "default" is assumed.
          • Type: String
        • tag (optional)
          • Type: String
      • storage
        • bucket
          • Type: String
        • object
          • Type: 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
          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.
          • Type: String
        • value
          The value of the user-defined substitution. This must not expand to longer than 100 characters. For details, see Build Requests - User-defined substitutions.
          • Type: String
    • 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.