cookpad / kuroko2

Kuroko2 is a web-based job scheduler / workflow engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Q] Is there any API to kick a job? (or "incoming webhook")

gfx opened this issue · comments

I'd like to kick, for example, deployment jobs from CI as a service.

Is there any API?

Yes. It should be documented though...
https://github.com/cookpad/kuroko2/blob/v0.3.4/spec/requests/api/job_instances_spec.rb

You need to check "Allow API execution of this job" at /definitions/:job_definition_id/edit page.

Yes we have. Unfortunately the current doc doesn't cover it...

Please read a code.

Also, note that we don't guarantee helpful support on GitHub issues.

Thanks!