Google container builder task cannot find gcloud

84 Views Asked by At

I am using the vsts google container builder task inside my build pipeline. I am running this task on a Hosted Linux preview vsts agent.

The container builder task fails to find gcloud on the agent machine. ##[error]Failed which: Not found gcloud: null

I also tried installing gcloud on the agent using the installer and adding gcloud to the PATH curl https://sdk.cloud.google.com | bash source /root/google-cloud-sdk/path.bash.inc

Container builder tasks fails to find gcloud. Is there something I am missing out ?

0

There are 0 best solutions below