Reputation: 15976
I have some jobs on crontab and I would like to import all of them to jenkins. Is there a nice elegant way to do this?
Thanks,
Upvotes: 1
Views: 213
Reputation: 18459
You should check - Configure or Create hudson job automatically.
Jenkins CLI exposes a way to update job configuration. You may retrieve job definition and then update the job's config.xml with same cron notation and script
Upvotes: 1