本文介绍了通过REST API提交参数化的hudson构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hudson支持通过对API进行HTTP GET来提交构建.我需要将一些参数传递给这样的构建.仅将它们添加为其他URL参数对我不起作用.这应该工作吗?还有其他机制吗?
hudson supports submitting a build by doing an HTTP GET to an API. I need to pass some parameters to such a build. Just adding them as additional URL parameters doesn't work for me. Is this supposed to work? Is there some other mechanism?
推荐答案
检查这个问题.代替/build使用/buildWithParameters.我目前正将其与一个简单的wget一起使用
Is it possible to pass parameters in the Hudson's job that will be triggered remotely?Check this question.Instead of /build use /buildWithParameters. I'm currently using it with a simple wget
这篇关于通过REST API提交参数化的hudson构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!