Get job ID from Asset Bundles

robbe
Databricks Partner

When using Asset Bundles to deploy jobs, how does one get the job ID of the resources that are created?

I would like to deploy some jobs through asset bundles, get the job IDs, and then trigger these jobs programmatically outside the CI/CD pipeline using the rest API in Python. Though the output of the databricks bundle deploy command does not seem to include the ID of the jobs that are created so I can't pass them to subsequent steps / other systems.

I understand that I can get the job ID using the UI but I would like to orchestrate my CI/CD without the need to provide a manual input.

Thank you in advance!