I got requirement from team like ,currently they are running the triggered jobs at particular intervals by setting up the schedule.They have setup schedule ,so as per the scheduled time those triggered jobs will run but at the time of deploy we must make sure the triggered jobs shouldn't run as it will not accept the deploy jar's into azure.So I want to run webjobs continuous jobs stop and as well as triggered jobs shouldn't run.It should check the triggered job running at the time of deploy if its running we can't deploy jar's even though if u stop continuous jobs.Please help me.How to accomplish the above task? whether we need to add any script to check triggered jobs running or not if it runs how to deploy jar's.
And other requirement is like,currently we are passing the parameters like
-webjobs @(@{"name"="abc";"typeName"='continuous'},@{"name"="def";"typeName"='continuous'}) -website kgh -rg ghi....
But team want these parameters will be passed in a separate file.So that when they add new web job they can add in a file itself.how can I call if I put the parameter script in a separate file and pass to the webjobs script.
Any post deploy of webjobs I should validate whether the webjobs are started properly or not.So these 3 requirements I need to implement in the script.Kindly share me the script full filling the above requirement.