pipeline file changes

This commit is contained in:
Brett Hewitson 2022-12-23 15:13:31 +10:00
parent 48e61bdcf1
commit fb2f72b62e
2 changed files with 10 additions and 5 deletions

View file

@ -21,6 +21,8 @@ stages:
jobs:
- job: build
displayName: Build and Publish
workspace:
clean: all
steps:
- template: azure-pipelines-clean-agent.yml@self

View file

@ -29,6 +29,8 @@ stages:
- deployment: deploy${{parameters.DeploymentType}}
displayName: Deploy ${{parameters.DeploymentType}}
environment: github-servermanager-${{ lower(parameters.DeploymentType) }}
workspace:
clean: all
strategy:
runOnce:
@ -42,12 +44,9 @@ stages:
CleanPublishFolder: false
PublishFolder: $(PublishFolder)
- template: output-environment-variables.yml@self
- checkout: MasterRepo
- task: PowerShell@2
displayName: Display Deployment Details (temp task)
displayName: Output Deployment Details
condition: contains(variables['system.debug'], 'true')
inputs:
targetType: inline
script: |
@ -56,6 +55,10 @@ stages:
Write-Host "Repository folder: ${{parameters.RepositoryFolder}}"
pwsh: true
- template: output-environment-variables.yml@self
- checkout: MasterRepo
- template: azure-pipelines-clean-agent.yml@self
parameters:
CleanArtifactsFolder: false