Reputation: 313
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
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:
2) Or change to History tab after you create the release via UI. In History, you can also view its JSON code.
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