0
votes

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

1

1 Answers

1
votes

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:-)