I'm creating a jenkins job to deploy a container to GKE, and part of this script requires me to authenticate to the container service with:
"gcloud auth login"
However, this is an interactive operation that requires me to go and fetch a token in the browser:
gcloud auth login
Go to the following link in your browser:
(Which Jenkins clearly can't do, or at least not easily)
Is there a way to automate this step?