mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
pipeline file updated
This commit is contained in:
parent
4a88f042f6
commit
6d1da1270f
1 changed files with 5 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue