I use Azure DevOps Release pipeline that creates (automatically) and deploys a webjob using the "Azure App Service deploy" task. The webjob type is created as "continous". I need the job to be created as "triggered".
You can define the webjob type in WebJobs Folder Structure
. Use .net webjob as example, you can DotNetCoreCLI@2
to publish the webjobs with structure App_Data/jobs/triggered
for triggered
type, or App_Data/jobs/continuous
for continuous
type. Then create the zip file for release.
In Azure App Service deploy
task, specify the zip file.
After deployment, check the webjob on azure, the job type is triggered
.
You can follow the link for the detail steps. You can also find this info in official doc: