Skip to content

Instantly share code, notes, and snippets.

@Fleid
Last active January 8, 2020 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fleid/d6cdfc5177fc9203a2fc926bb84afa55 to your computer and use it in GitHub Desktop.
Save Fleid/d6cdfc5177fc9203a2fc926bb84afa55 to your computer and use it in GitHub Desktop.
YAML file describing a Build pipeline of an Azure Stream Analytics job in Azure DevOps Pipelines
trigger:
- master
pool:
vmImage: 'windows-latest'
variables:
- group: StagingVariableGroup
steps:
- task: AzurePowerShell@4
displayName: 'Azure PowerShell script: build.ps1'
inputs:
azureSubscription: 'MyAzureSubscription()'
ScriptType: 'FilePath'
ScriptPath: 'deploy/build.ps1'
FailOnStandardError: true
azurePowerShellVersion: 'LatestVersion'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
@Fleid
Copy link
Author

Fleid commented Jan 2, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment