简体   繁体   English

Jenkins-Github 在不同操作系统中的集成

[英]Jenkins-Github Integration in different OS

I have a windows machine where I have installed jenkins(master).我有一台安装了 jenkins(master) 的 Windows 机器。 Then I installed jenkins slave in cent os which is a SSH server.然后我在 Cent os 中安装了 jenkins slave,这是一个 SSH 服务器。 There is a github repository which I have checked out in that cent os machine.有一个 github 存储库,我已经在那台 cent os 机器上检出了它。 Now I wanted to configure a job from the master jenkins which is in window to perform git pull operation in the cent os.现在我想从窗口中的主 jenkins 配置一个作业,以在 cent os 中执行 git pull 操作。 How can I do this?我怎样才能做到这一点? Please help me in this.请帮助我。

You can use " Restrict where this project can be run " from Configure job option in jenkins您可以从 jenkins 的配置作业选项中使用“限制可以运行此项目的位置 在此处输入图片说明

you need to provide label name.您需要提供标签名称。

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

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