Auto Trigger Jenkins Jobs
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
相关推荐
Chriswang 2020-04-30
donghongbz 2020-01-18
workflow 2013-08-15
stingfire 2012-05-16
itwxming 2015-09-02
周健华 2019-06-28
donghongbz 2011-10-12
去山中嘘嘘 2015-01-21
Awara 2019-06-27
小肖 2014-05-19
mxcsdn 2010-10-20
adeyi 2019-06-21
咸鱼 2012-10-28
greensomnuss 2012-10-09
Gcalolin 2019-06-20
愚盦 2011-05-24
每天积累一点点 2011-03-08
Lucianoesu 2018-10-27
MySQL 2018-09-24