简体   繁体   English

Jenkins的一个实例可以呼叫另一个

[英]One instance of Jenkins to call another

I have Jenkins as the CI server. 我有Jenkins作为CI服务器。 I have an automated testing tool setup on another machine. 我在另一台机器上安装了自动测试工具。 I installed Jenkins on the other machine also. 我也在另一台机器上安装了Jenkins。 Now I want one instance of Jenkins to trigger the project build on the other instance of Jenkins. 现在,我希望一个詹金斯实例能够在另一个詹金斯实例上触发项目构建。 Is that possible? 那可能吗?

You can do this by pinging a build URL. 您可以通过对构建URL进行ping操作来实现。 ie

http://server-url :{port}/job/{job_name}/build http:// server-url :{port} / job / {job_name} / build

Easiest is to use the Parameterized Remote Trigger Plugin . 最简单的方法是使用参数化的远程触发器插件 Calling the URL directly can be tricky if your build has parameters and / or your Jenkins instance is secured. 如果您的构建具有参数和/或您的Jenkins实例是安全的,则直接调用URL可能会很棘手。

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

相关问题 如何将凭证从一个 jenkins 实例导出到另一个实例? - How to export credentials from one jenkins instance to another? 如何从另一个Jenkins共享库中调用函数 - How to call functions in one Jenkins Shared Library from another 从Jenkins工作中的另一个Jenkins实例上运行Jenkins作业 - run a Jenkins job on another Jenkins instance from the Jenkins job Jenkins & AWS - 将现有阶段从一个构建添加到另一个/调用另一个构建 - Jenkins & AWS - Adding an existing stage from one build to another/ Call another build 从一个账户中的 jenkins 启动 aws ssm 到另一个实例中的 ec2 以进行数据传输 - initiate aws ssm from jenkins in one account to ec2 in another instance for data transfer Jenkins管道通过SSH进入实例并调用函数 - Jenkins pipeline to SSH into an instance and call a function 詹金斯发现了多个实例 - Jenkins detecting more than one instance 从另一个管道调用参数化Jenkins管道 - Call parameterized Jenkins pipeline from another pipeline 如果另一个 Jenkins 作业也失败了,如何让一个 Jenkins 作业失败? - How to failed one Jenkins job if another Jenkins job also failed? 如何将 Jenkins 从一台 PC 移动到另一台 PC - How to move Jenkins from one PC to another
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM