Created
October 21, 2018 11:10
-
-
Save Geertvdc/1498b51af928f7249bbd94848dc63fa1 to your computer and use it in GitHub Desktop.
Basic dockerized build pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
containers: | |
- container: dotnet-geert | |
image: 'microsoft/dotnet:2.1-sdk' | |
pool: 'Hosted Ubuntu 1604' | |
container: dotnet-geert | |
variables: | |
buildConfiguration: 'Release' | |
system.debug: true | |
steps: | |
- script: | | |
cd ContainerizedBuildSample | |
dotnet build --configuration $(buildConfiguration) | |
dotnet test --configuration $(buildConfiguration) --logger trx --filter "category!=integration" | |
dotnet publish --configuration $(buildConfiguration) | |
displayName: 'Build & Test' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment