So, Azure has disabled adding WebJobs directly through the Portal, if source control (Git/Azure DevOps) is configured for that Web App. It gives an error message in the portal. Now, as per this solution, WebJobs can be deployed if Virtual Application is configured and mapped to Release/Pipeline.
WebJob cannot be added from portal if deployment form source control is configured
After following the steps in that link and creating new Build/Release pipeline, I am facing following issues;
(Edited on 4-Oct-2019 12:30 PM UTC.)
Here is how my Build Pipeline looks.
Warning/Error messages of WebJob Failure
WebJob Build
Log with Nuget restore before WebJob build
Log after specifying Package directory Path
WebJob actually builds properly in local VS. Why does it fail during build?