问题
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