开发者

Blocking a Jenkins job until a web service returns an HTTP 200?

Is there a way to block a jenkins job until a given webservice returns HTTP 200 for a given UR开发者_开发百科L? I have a server deployment job with downstream tasks, and it takes a variable length of time to redeploy the application.

I guess I could script something, but an existing plugin or capability would feel like less of a hack.


Just write a groovy script to shell out to wget and check the output.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜