Last active
June 9, 2020 20:30
-
-
Save AaronSadlerUK/53eaa625f23c30853e9056230ef46afd to your computer and use it in GitHub Desktop.
Azure Dev Ops Build Pipeline for Umbraco 8
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
pool: | |
name: CHANGEME | |
demands: | |
- npm | |
- node.js | |
- msbuild | |
- visualstudio | |
steps: | |
- task: Npm@1 | |
displayName: 'npm install' | |
inputs: | |
workingDir: CHANGEME | |
verbose: false | |
- task: gulp@0 | |
displayName: 'gulp ' | |
inputs: | |
gulpFile: CHANGEME/gulpfile.js | |
workingDirectory: CHANGEME | |
- task: NuGetToolInstaller@0 | |
displayName: 'Use NuGet 5.5.0' | |
inputs: | |
versionSpec: 5.5.0 | |
- task: NuGetCommand@2 | |
displayName: 'NuGet restore' | |
inputs: | |
restoreSolution: 'CHANGEME' | |
- task: VSBuild@1 | |
displayName: 'Build solution' | |
inputs: | |
solution: 'CHANGEME' | |
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(Build.ArtifactStagingDirectory)\\"' | |
platform: 'CHANGEME' | |
configuration: 'CHANGEME' | |
- task: PublishBuildArtifacts@1 | |
displayName: 'Publish Artifact' | |
inputs: | |
ArtifactName: 'CHANGEME' | |
condition: succeededOrFailed() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!
I have changed this on a few pipelines, I can't say I've noticed an improvement though