08-16-2022 12:15 AM
On Jobs REST API is possible to create a new Job, specifying a git_source.
My question is about triggering the job.
Still on Jobs REST Api is possible to trigger a job using the job_id, but I don't find a way to tell anyhow to Databricks, what's the entry point of the Repository that was specified at creation time.
Am I missing something?
08-16-2022 01:18 AM
@Antonio Davide Cali you can use the runnow API to trigger your run. If you want to change any job values like path or cluster config then you need to use JobUpdate API.
08-16-2022 01:18 AM
@Antonio Davide Cali you can use the runnow API to trigger your run. If you want to change any job values like path or cluster config then you need to use JobUpdate API.
08-16-2022 11:53 PM
Hello @Prabakar Ammeappin
Yes my issue was that I misunderstood the Docs.
It seems that even if you forward `git_source`, a `task` inside `tasks` field must be created as a `notebook_task`
08-17-2022 12:30 AM
08-17-2022 01:35 AM
yes fixed
08-17-2022 08:17 AM
It's good to know that your issue is resolved. It would be great if you could mark the best answer, so this thread could be closed.
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.