pipeline file updated

This commit is contained in:
Brett Hewitson 2022-12-28 16:40:54 +10:00
parent 4a88f042f6
commit 6d1da1270f

View file

@ -56,10 +56,12 @@ stages:
- template: output-environment-variables.yml@self
- checkout: MasterRepo
enabled: false
persistCredentials: true
- task: PowerShell@2
displayName: Pull Master Repository Files
enabled: false
env:
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory)
@ -86,6 +88,7 @@ stages:
- task: PowerShell@2
displayName: Copy ${{parameters.DeploymentType}} Files
enabled: false
env:
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
DEPLOY_PUBLISHDIRECTORY: "$(Agent.BuildDirectory)/${{parameters.PublishFolder}}"
@ -127,6 +130,7 @@ stages:
- task: PowerShell@2
displayName: Commit ${{parameters.DeploymentType}} Files
enabled: false
env:
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory)
@ -172,7 +176,7 @@ stages:
- task: PowerShell@2
displayName: 'Update VersionRevision Variable'
condition: eq('${{parameters.DeploymentType}}', 'Beta')
enabled: false
enabled: true
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
@ -193,23 +197,6 @@ stages:
arguments: "-variableName 'VersionRevision'"
pwsh: true
- task: PowerShell@2
displayName: Update Pipeline Version Variables (TODO)
enabled: false
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
targetType: inline
script: |
if ('${{parameters.DeploymentType}}' -eq 'Beta') {
Write-Host "Updating beta pipeline variables"
}
if ('${{parameters.DeploymentType}}' -eq 'Production') {
Write-Host "Updating production pipeline variables"
}
pwsh: true
- template: azure-pipelines-clean-agent.yml@self
parameters:
CleanArtifactsFolder: true