如何在MAC OS X上在当前用户(不是'jenkins')下安装jenkins [英] How to install jenkins under current user (not 'jenkins') on MAC OS X

查看:382
本文介绍了如何在MAC OS X上在当前用户(不是'jenkins')下安装jenkins的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在当前​​用户下为构建服务器配置了MAC OS X环境(SDK,许可证等),并希望由构建代理重用所有设置.选择Jenkins是一个不错的选择,但由于安装过程中的某些原因,它创建了一个新用户 jenkins 并在其下启动应用程序,从而导致无法访问环境设置(没有SDK,找不到许可证) ).

I have configured MAC OS X environment (SDKs, licenses, etc) under current user for build server and would like to reuse all the settings by a build agent. Jenkins was chosen as a good option but for some reason during installation it created a new user jenkins and launch the app under it, causing the environment setup to be not accessible (no SDKs, no licenses are found anymore).

是否可以在当前用户下安装jenkins? 可能可以在jenkins下安装,然后在当前用户下启动?

Is it possible to install jenkins under current user? Probably it could be installed under jenkins but then launched under current user?

我要考虑的任何其他不错的选择.

Any other good options for me to consider are appreciated.

推荐答案

请尝试以下操作:

我还建议您通过Homebrew安装Jenkins,以避免 詹金斯(Jenkins)自己的安装程序中有些废话,它会将自己置于 /用户/共享/.你真的不想那样.

I’m also going to recommend installing Jenkins via Homebrew, to avoid some nonsense in Jenkins’ own installer whereby it puts itself in /Users/Shared/. You really don’t want that.

这篇关于如何在MAC OS X上在当前用户(不是'jenkins')下安装jenkins的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆