Jenkins手册远程呼叫 [英] Jenkins Manual Step by remote call
问题描述
我正在使用Jenkins Build Pipeline插件进行构建管道.在矿山管道中,我有手动步骤(建立其他项目(手动步骤)).当我触发构建时,它会停止在此手动步骤上(可以),现在我要运行它.但是我不想通过jenkins GUI触发它,而是通过其他应用程序的调用来触发它.
I am using Jenkins Build Pipeline plug-in for build pipelines. In mine pipeline I have manual step ( Build other project (Manual Step) ). When I trigger build it stops on this manual step (it's ok) and now I want to run it. But I don't want to trigger it via jenkins GUI but via call from some other application.
示例(詹金斯工作流水线):
Example (Jenkins jobs pipeline):
构建->部署测试->(手动)部署生产
Build -> Deploy Test -> (manual) Deploy Production
现在我想要第二个带有大按钮"Test ok,在生产中部署"的应用程序,并通过它调用jenkins手动作业.
now I want second app with big button "Test ok, deploy on production" and via it call the jenkins manual job.
推荐答案
是的,请看一下:它说明了如何使用Jenkins的Web服务API从jenkins外部调用Build:
Yes, have a look at this: it´s explaining how to use Jenkins´ Webservice API to call a Build from outside of jenkins:
这篇关于Jenkins手册远程呼叫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!