mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
added path to master repo checkout task
This commit is contained in:
parent
192fa27485
commit
b70bb69426
1 changed files with 37 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue