Google Cloud Build Conditional Steps

Google cloud build has become an integral part of our tooling (@vendasta). I would like to know if Cloud Build has on its roadmap expanded support for step conditionals.

Example syntax from cloud build competitors (we are moving more of our build pipelines back into cloud build and the lack of this type of functionality is quite frustrating):

 

    when:
      step:
        - id: cypress_integration
          on:
            - failure

 

 

 

    when:
      step:
        - name: build
          on:
            - success

 


Further there is no way to have a build step fail that doesn't cancel the entire build. This would go hand in hand with build conditionals. 

Further discussion here: https://github.com/GoogleCloudPlatform/cloud-builders/issues/253#issuecomment-381625882

1 4 2,105
4 REPLIES 4

Hi @jredl - please ping me through the profile -> Direct message mechanism. I would like to follow up with you with respect to your request.

Thanks,

Victor

@vsz is there a solution to this yet?

Is there any solution to this? 😕

hey, pablo
looks like there is no sollutions to this yet ((