-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
NOTE: I used the wrong plugin for this ticket because gcloud-sdk-plugin is not listed. (See: https://issues.jenkins-ci.org/issues/?jql=project%20%3D%20JENKINS%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20component%20%3D%20%27gcloud-sdk-plugin%27 and See attached screenshot) Hopefully this can be passed along.
We attempted to use the GCloud SDK Plugin but are running into an issue where the `run gcloud command` build step is not prepending the gcloud-sdk-directory. The GCloud SDK was added to our system and our account was successfully authorized. We're still seeing the following when attempting to use the plugin to run a gcloud command.
FATAL: Cannot run program "gcloud" (in directory "/Users/app/.jenkins/jobs/Google Test Cloud/workspace"): error=2, No such file or directory java.io.IOException: Cannot run program "gcloud" (in directory "/Users/app/.jenkins/jobs/Google Test Cloud/workspace"): error=2, No such file or directory
We are able to run this successfully without the plugin by prepending the path to the directory to the `gcloud` command. Please let me know what other information I can provide.