mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +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
|
- template: output-environment-variables.yml@self
|
||||||
|
|
||||||
- checkout: MasterRepo
|
- checkout: MasterRepo
|
||||||
|
enabled: false
|
||||||
persistCredentials: true
|
persistCredentials: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Pull Master Repository Files
|
displayName: Pull Master Repository Files
|
||||||
|
enabled: false
|
||||||
env:
|
env:
|
||||||
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
|
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
|
||||||
DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory)
|
DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory)
|
||||||
|
|
@ -86,6 +88,7 @@ stages:
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Copy ${{parameters.DeploymentType}} Files
|
displayName: Copy ${{parameters.DeploymentType}} Files
|
||||||
|
enabled: false
|
||||||
env:
|
env:
|
||||||
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
|
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
|
||||||
DEPLOY_PUBLISHDIRECTORY: "$(Agent.BuildDirectory)/${{parameters.PublishFolder}}"
|
DEPLOY_PUBLISHDIRECTORY: "$(Agent.BuildDirectory)/${{parameters.PublishFolder}}"
|
||||||
|
|
@ -127,6 +130,7 @@ stages:
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Commit ${{parameters.DeploymentType}} Files
|
displayName: Commit ${{parameters.DeploymentType}} Files
|
||||||
|
enabled: false
|
||||||
env:
|
env:
|
||||||
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
|
DEPLOY_BUILDNUMBER: $(Build.BuildNumber)
|
||||||
DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory)
|
DEPLOY_SOURCESDIRECTORY: $(Build.SourcesDirectory)
|
||||||
|
|
@ -172,7 +176,7 @@ stages:
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Update VersionRevision Variable'
|
displayName: 'Update VersionRevision Variable'
|
||||||
condition: eq('${{parameters.DeploymentType}}', 'Beta')
|
condition: eq('${{parameters.DeploymentType}}', 'Beta')
|
||||||
enabled: false
|
enabled: true
|
||||||
env:
|
env:
|
||||||
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
||||||
inputs:
|
inputs:
|
||||||
|
|
@ -193,23 +197,6 @@ stages:
|
||||||
arguments: "-variableName 'VersionRevision'"
|
arguments: "-variableName 'VersionRevision'"
|
||||||
pwsh: true
|
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
|
- template: azure-pipelines-clean-agent.yml@self
|
||||||
parameters:
|
parameters:
|
||||||
CleanArtifactsFolder: true
|
CleanArtifactsFolder: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue