Search code examples
azure-pipelinesazure-webjobsazure-pipelines-release-pipeline

Why don't webjobs do not appear in the portal?


Why is the portal showing no webjobs running?

enter image description here

I've made sure to set WEBSITE_RUN_FROM_PROJECT to 0

enter image description here

Here's how the build is configured enter image description here

The release is showing a successful deployment: enter image description here enter image description here

What am I doing wrong? Why can I not see the deployed webjobs?

Are there other resources to help us determine which webjobs are running?


Solution

  • You need to prepare correct WebJobs Folder Structure in build artifact and consume it in release pipeline for deployment.

    enter image description here

    In build pipeline, for arguments of publish task:

    enter image description here

    You can tick out the option Add project's folder name to publish path as it will change the folder structure.

    Then archive the publish_output folder and then publish as build artifact.

    enter image description here

    In release pipeline, consume the build artifact for deployment.

    enter image description here

    enter image description here

    You can also check my answer in another link.