added path to master repo checkout task

This commit is contained in:
Brett Hewitson 2022-12-23 19:58:58 +10:00
parent 192fa27485
commit b70bb69426

View file

@ -56,6 +56,7 @@ stages:
- template: output-environment-variables.yml@self
- checkout: MasterRepo
path: 'repo'
persistCredentials: true
- task: PowerShell@2
@ -134,6 +135,42 @@ stages:
pwsh: true
workingDirectory: '$(Build.SourcesDirectory)'
- task: PowerShell@2
displayName: 'Update VersionRevision Variable'
condition: eq('${{parameters.DeploymentType}}', 'Beta')
enabled: false
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
targetType: filePath
filePath: './.azure/scripts/UpdateVersionVariable.ps1'
pwsh: true
- task: PowerShell@2
displayName: 'Update VersionBuild Variable'
condition: eq('${{parameters.DeploymentType}}', 'Production')
enabled: false
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
targetType: filePath
filePath: './.azure/scripts/UpdateVersionVariable.ps1'
arguments: "-variableName 'VersionBuild'"
pwsh: true
- task: PowerShell@2
displayName: 'Reset VersionRevision Variable'
condition: eq('${{parameters.DeploymentType}}', 'Production')
enabled: false
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
VERSIONREVISION: 0
inputs:
targetType: filePath
filePath: './.azure/scripts/UpdateVersionVariable.ps1'
arguments: "-variableName 'VersionRevision'"
pwsh: true
- task: PowerShell@2
displayName: Update Pipeline Version Variables (TODO)
enabled: false