Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jenkins没有写入Thread所需的主文件夹的权限_Jenkins_Google Cloud Platform_Yarn_File Permissions - Fatal编程技术网

Jenkins没有写入Thread所需的主文件夹的权限

Jenkins没有写入Thread所需的主文件夹的权限,jenkins,google-cloud-platform,yarn,file-permissions,Jenkins,Google Cloud Platform,Yarn,File Permissions,我在谷歌云平台上的虚拟机中使用Jenkins。这是我第一次使用CI工具Docker和gcloud 在我的管道中,作为构建过程的一部分,Jenkins运行Thread install,该安装立即失败,并出现“EACCES:permission denied,mkdir'/.config'” 作为buildcomposer安装的一部分,我注意到它也无法创建通常位于用户主文件夹中的缓存目录 我试过的东西 (我知道有些是不可取的) 我试过: 将主文件夹上的chown和chmod(777)发送给Jenki

我在谷歌云平台上的虚拟机中使用Jenkins。这是我第一次使用CI工具Docker和gcloud

在我的管道中,作为构建过程的一部分,Jenkins运行
Thread install
,该安装立即失败,并出现
“EACCES:permission denied,mkdir'/.config'”

作为build
composer安装的一部分,我注意到它也无法创建通常位于用户主文件夹中的缓存目录

我试过的东西 (我知道有些是不可取的)

我试过:

将主文件夹上的chown和chmod(777)发送给Jenkins用户

管道中的
whoami
返回未知UID 109,所以我也尝试了chmod/own给该用户

尝试将Jenkins用户添加到sudoers for ALL

尝试将默认情况下的Jenkins配置更改为以root用户而不是Jenkins用户身份运行