leonranri 2016-12-09
http://www.tuicool.com/articles/iaUJjm2
2 ways:
First is a little stupid that trigger frequently by 5 *
H/10 * * * * //every 10 mins
H/1 * * * * //every 1 h
H/x * * * * //every x mins
* * * * * //every minute
Second to trigger by git hooks, call curl to trigger job
github>settings>Hook & Services>Add Service>Github Auto-Deployment>Jenkins(Git plugin)
jenkins hook url: http://xxx/github-webhook
save and test
本文实例讲述了jquery trigger实现联动的方法。分享给大家供大家参考,具体如下:。<input type="button" value="设置成湖北襄阳" onclick="test()&q