echo "$PATH"
ls
gcloud --project="hv-match" preview app deploy -q app.yaml[workspace] $ /bin/sh -xe /opt/bitnami/apache-tomcat/temp/hudson6024750435138896107.sh
+ echo /opt/bitnami/gradle/bin:/opt/bitnami/git/bin:/opt/bitnami/java/bin:/opt/bitnami/sqlite/bin:/opt/bitnami/apache2/bin:/opt/bitnami/common/bin:/sbin:/usr/sbin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin
/opt/bitnami/gradle/bin:/opt/bitnami/git/bin:/opt/bitnami/java/bin:/opt/bitnami/sqlite/bin:/opt/bitnami/apache2/bin:/opt/bitnami/common/bin:/sbin:/usr/sbin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin
+ ls
...
app.yaml
...
+ gcloud --project=hv-match preview app deploy -q app.yaml
/opt/bitnami/apache-tomcat/temp/hudson6024750435138896107.sh: 4: /opt/bitnami/apache-tomcat/temp/hudson6024750435138896107.sh: gcloud: not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/a284a2ab-c2d8-493e-a5da-374ed2f3b3c4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/ba93fde7-50a9-47c0-913a-3b35a8afadd6%40googlegroups.com.
/home/margorjon/google-cloud-sdk/bin/gcloud --project=hv-match preview app deploy -q app.yaml
Traceback (most recent call last):
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 204, in <module>
_cli = CreateCLI()
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py", line 202, in CreateCLI
return loader.Generate()
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 314, in Generate
cli = self.__MakeCLI(top_group)
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py", line 481, in __MakeCLI
log.AddFileLogging(self.__logs_dir)
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/core/log.py", line 539, in AddFileLogging
_log_manager.AddLogsDir(logs_dir=logs_dir)
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/core/log.py", line 329, in AddLogsDir
log_file = self._SetupLogsDir(logs_dir)
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/core/log.py", line 405, in _SetupLogsDir
files.MakeDir(day_dir_path)
File "/home/margorjon/google-cloud-sdk/./lib/googlecloudsdk/core/util/files.py", line 57, in MakeDir
('Please verify that you have permissions to write to the parent '
googlecloudsdk.core.util.files.Error: Could not create directory [/.config/gcloud/logs/2015.10.16]: Permission denied.
Please verify that you have permissions to write to the parent directory.
It would appear that the Jenkins is attempting to use the root directory as a configuration directory, possibly because of an unusual $HOME directory configuration.
Try setting $CLOUDSDK_CONFIG to point to a directory that the Jenkins user has access to:
CLOUDSDK_CONFIG=/tmp /home/margorjon/google-cloud-sdk/bin/gcloud version
--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-cloud-sdk.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sdk/1121cdb2-2a20-44d3-8372-8de2e0e773d4%40googlegroups.com.