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 a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group