This demonstrates create, deploy and run a simple triggered job.
- Create an Azure WebSites.
- Clone and push this repository to your site. This will deploy the
simplejobto the appropriate location. - List the existing jobs by browsing to
<scm_url>/jobs. You should see one job namedsimplejobwithrun_commandpointed torun.cmd. - Run the job by
curl -X POST <scm_url>/jobs/triggered/simplejob/run -d ''. This will start therun.cmd. - See the job status by browsing to
<scm_url>/jobs/triggered/simplejob. The latest_run status represents the last run status. - To diagnose issue, see the job stdout/stderr by browsing to
output_urlanderror_urlrespectively. NoticeHello Worldecho-ed fromrun.cmdwhen viewing theoutput_url.
That's it.