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
simplejob
to the appropriate location. - List the existing jobs by browsing to
<scm_url>/jobs
. You should see one job namedsimplejob
withrun_command
pointed 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_url
anderror_url
respectively. NoticeHello World
echo-ed fromrun.cmd
when viewing theoutput_url
.
That's it.