Skip to content

Instantly share code, notes, and snippets.

@pksorensen
Created December 29, 2020 05:30
Show Gist options
  • Save pksorensen/c0aa86da3442402319e13f5a9b53be3a to your computer and use it in GitHub Desktop.
Save pksorensen/c0aa86da3442402319e13f5a9b53be3a to your computer and use it in GitHub Desktop.
steps:
- task: DownloadPipelineArtifact@2
- script: |
sudo apt-get update -y
sudo apt-get install -y dos2unix
dos2unix $(Pipeline.Workspace)/azure/*.sh
chmod +x $(Pipeline.Workspace)/azure/*.sh
displayName: 'Command Line Script'
- task: AzureCLI@1
displayName: 'Azure CLI $(Pipeline.Workspace)/azure/env-inf-pipeline.sh'
env:
CDSEnvironment: $(CDSEnvironment)
CDSEnvironmentName: $(CDSEnvironmentName)
CDSClientId: $(CDSClientId)
CDSClientSecret: $(CDSClientSecret)
projectName: $(ProjectName)
projectEnv: ${{ parameters['EnvironmentName'] }}
location: $(ProjectLocation)
prefix: $(PublisherPrefix)
locationShort: $(ProjectLocationShort)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment