You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- parameters:
- - name: branch
- type: string
- displayName: Branch
- - name: targetPath
- type: string
- displayName: Target Path
-
- jobs:
- - ${{ if eq(variables.build.SourceBranchName, parameters.branch) }}:
- - job: deploy_${{ parameters.branch }}
- displayName: Deploy for ${{parameters.branch}}
- condition: succeeded()
- steps:
- - task: DownloadPipelineArtifact@2
- displayName: Download builds
- inputs:
- targetPath: art/
- - task: CopyFilesOverSSH@0
- displayName: Post builds
- inputs:
- sshEndpoint: dds.pizza
- sourceFolder: art/
- targetFolder: ${{ parameters.targetPath }}
- failOnEmptySource: true
- overwrite: true
|