Jay Bhiyani
Jay Bhiyani

Reputation: 313

JSON file to create release pipeline and add Agent Job and tasks to deploy Web App on Azure App Service Deploy

How can I code a JSON file to create release pipeline to create Agent job with following tasks

1) Download Build Artifacts task

2) Azure App Service Deploy task

3) File Transform Task

4) Azure SQL SqlTask

Upvotes: 0

Views: 1020

Answers (1)

Mengdi Liang
Mengdi Liang

Reputation: 18978

1) You can create one release with such configuration via UI, then export it. It will generate and install a file with JSON code to your local. Then you could check its scripts by yourself:

enter image description here

2) Or change to History tab after you create the release via UI. In History, you can also view its JSON code.

enter image description here


The configuration structure you want is not suitable to share here directly. So I'd recommend you the above steps to configure JSON file by yourself.

If above does not satisfied or not convenient to you, I may consider to share full JSON code here to you:-)

Upvotes: 1

Related Questions