0

I have a Python code and received specific instructions saying 'deploy it in Azure and run the job'. Could anyone help me understand the same? I have access to the Blob storage (from where the code is picking the input files and is uploading the output), as well as to Azure Devops. PS- Non technical person here so would appreciate any help on that.

Thank you

Harisha G
  • 19
  • 4
  • You can do it using Azure DevOps. https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/python-webapp?view=azure-devops – Devang Sanghani Mar 11 '22 at 11:16

1 Answers1

0

The workaround follows:

Create a python Script

Create a python Script (fileName.py)

import sys  
print(sys.version)  
print("our test web job running....")

After creating the file run locally.

Make a .Zip file of python script and required folders

enter image description here

Deploy web jobs in Azure App Service

In your AppService -> Settings Blade -> Select Web Jobs -> Add your Web Job Application

enter image description here

enter image description here

Go to the Logs it will show the details of web job information

enter image description here

Reference:

Delliganesh Sevanesan
  • 4,146
  • 1
  • 5
  • 15