How to setup a VSTS build definition to publish Azure Functions with this configuration? -
we using vs 2017 on single solution multiple projects , right mouse click , deploy 3 c# azure function 2 different azure function apps slots.
how set vsts build definition accomplish on every check in?
we using dlls , setting function.json way. don’t know if need deploy differently based on type of configuration.
"scriptfile": "..\\bin\\target.dll", "entrypoint": "target.application.run"
i able create vsts deployment through following steps
solutions structure
build configuration steps
- sync master branch
- added nuget restore using default options
- added msbuild step followign optons
- project : vstssolution.sln (selected using '...')
- msbuild version: latest
- msbuild architechture: msbuild x86
- clean: checked
- create log file: checked
- added app service deploy function app1
- azure subscription: target subscription
- app service name: target function app
- deploy slot: if check allows select actual slot want deploy to
- package or folder: functionapp1\bin\debug\net461
- added app service deploy function app1
- package or folder: functionapp2\bin\debug\net461
make sure selected "hosted vs2017" agent queue build.
all build steps
triggers: enable continuous integration. both function app deploy every time check-in.
continuous integration
Comments
Post a Comment