简体   繁体   English

如何远程配置Jenkins?

[英]How to configure Jenkins remotely?

I have to configure Jenkins installed in Ubuntu server from my Mac machine through ssh. 我必须通过ssh从Mac机器上配置安装在Ubuntu服务器中的Jenkins。 The jenkins is installed in the server with following commands as stated in jenkins通过以下命令安装在服务器中:

https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu here. https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo  apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ >   /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

And also jenkins was started using 而且詹金斯也开始使用

service jenkins restart

Is there any way to configure Jenkins and work with from my mac?. 有什么方法可以配置Jenkins并从我的Mac使用它吗?

What kind of user privileges(for ubuntu server) I may need? 我可能需要什么样的用户权限(对于ubuntu服务器)?

Do I need to Install jenkins CLI to configure remotely? 我需要安装jenkins CLI进行远程配置吗?

Please ask for clarification if anything needed to proceed. 请要求澄清是否需要进行任何操作。

Thanks in advance. 提前致谢。

Is your mac on the same network as your ubuntu server? 您的Mac是否与ubuntu服务器位于同一网络上? If yes, you can type the url directly of your jenkins in your mac and login to the jenkins server. 如果是,则可以直接在Mac中键入jenkins的网址,然后登录到jenkins服务器。

if Jenkins is running on port 8080 and the ip of the ubuntu server is 10.10.0.3 you can access jenkins by typing http://10.10.0.3:8080 - you should be on the same network though. 如果Jenkins在端口8080上运行,并且ubuntu服务器的ip为10.10.0.3,则可以通过键入http://10.10.0.3:8080来访问jenkins-尽管您应该位于同一网络上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM