From the course: Visual Studio App Center for Developers

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Custom build scripts

Custom build scripts - Visual Studio Tutorial

From the course: Visual Studio App Center for Developers

Start my 1-month free trial

Custom build scripts

- [Instructor] Visual Studio App Center does give some ability to customize the build process, by allowing you to create scripts that can be added to your build definition. These scripts can be inserted in three predefined locations. The locations are: Right after the source code has been retrieved onto the build server. Right before the code is built, or after Nougat or NPM packages have been restored, and immediately after the build has been completed. Which script we want to use will be dependent on what we need to do. We will need to write different types of scripts depending on what platform we are building for. Anything written for UWP will run on a Windows build server, and need PowerShell scripts. Anything written for iOS, Android, or macOS will be compiled on a Mac and thus use Bash scripts. The build server looks for scripts of a very particular name to exist in the repository. It looks for apps that are post-clone, for the script right after the source code is retrieved…

Contents