通过REST API提交参数化的hudson构建 [英] submitting a parameterized hudson build via the REST API

查看:77
本文介绍了通过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?

推荐答案

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构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆