Omer Dagan
Omer Dagan

Reputation: 15976

Import crontab jobs into jenkins

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

Answers (1)

Jayan
Jayan

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

Related Questions