开发者

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

开发者 https://www.devze.com 2023-03-30 12:37 出处:网络
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

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

精彩评论

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