Home > Blockchain >  run gcloud with .sh file on jenkins shows gcloud: command not found
run gcloud with .sh file on jenkins shows gcloud: command not found

Time:06-30

Running gcloud command with .sh file on mac is fine, but not on jenkins. see pic below:

enter image description here

enter image description here

Thanks.

CodePudding user response:

End up trying many ways, I find there is an Environment path column on Jenkins System Configuration page. Putting the google-cloud-sdk/bin path into the column will solve the problem.

  • Related