WebJob cannot be added from portal if deployment form source control is configured

后端 未结 5 2103
感动是毒
感动是毒 2020-12-30 09:16

Today we experienced the following message in Azure Portal

WebJob cannot be added from portal if deployment form source control is configured.

5条回答
  •  臣服心动
    2020-12-30 10:15

    We solved it by not disconnecting a pipeline.

    We solved it by implementing a seperate WebJob Build/Release Pipeline.

    Here are the steps that worked for us:

    In Azure Portal

    • Create a virtual application in your app service

    In DevOps

    • In your build pipeline Important Notice: add the following Argument: --output $(build.artifactstagingdirectory) to the build step.

    • In your release pipeline

    This deploys the WebJob to the correct directory. In our case: $(System.DefaultWorkingDirectory)/_ms-reporting-webjob-dev-CI/drop

    Having a look at the Kudo Console in our App Service the file location for our WebJob is:

提交回复
热议问题