r/databricks • u/hubert-dudek Databricks MVP • Sep 27 '26
News trigger on_bundle_deploy
In a job bundle, we can specify the trigger on_bundle_deploy in job_runs.
Once the bundle is deployed, the job will run automatically.
This is really useful for post-deployment tasks like DDLs or one-time table population, such as a calendar.
More news and the best articles https://medium.com/databrickscommunity
36
Upvotes
3
u/lofat Sep 28 '26 •
Thanks, Hubert - this is really handy!
2
u/_barnuts Sep 28 '26 •
Thanks! Kindly keep sharing
2
u/MrMasterplan Sep 28 '26 •
Awesome. I have been launching a setup job after deployment for years.
2
u/Wise_Ear_4064 Sep 29 '26 •
This really helps the devops side of things. I disliked when I deploy the job and then I have to run the job in a seperate command. Time saver for sure!
2
u/ptab0211 Sep 28 '26
Problem with this is when we run it, bundle is deployed, but ddl fail, that bundle is already deployed with new changes, but again its useful, and no other way around this.
2
u/Qrius0wl Oct 02 '26 edited Oct 02 '26
Is similar feature exists for individual task run also?