Jenkins Manual Step by remote call

老子叫甜甜 提交于 2019-12-24 01:59:10

问题


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

now I want second app with big button "Test ok, deploy on production" and via it call the jenkins manual job.


回答1:


Yes, have a look at this: it´s explaining how to use Jenkins´ Webservice API to call a Build from outside of jenkins:

Calling a jenkins build from outside of jenkins?



来源:https://stackoverflow.com/questions/23929936/jenkins-manual-step-by-remote-call

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!