mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
pipeline file changes
This commit is contained in:
parent
48e61bdcf1
commit
fb2f72b62e
2 changed files with 10 additions and 5 deletions
|
|
@ -21,6 +21,8 @@ stages:
|
|||
jobs:
|
||||
- job: build
|
||||
displayName: Build and Publish
|
||||
workspace:
|
||||
clean: all
|
||||
|
||||
steps:
|
||||
- template: azure-pipelines-clean-agent.yml@self
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ stages:
|
|||
- deployment: deploy${{parameters.DeploymentType}}
|
||||
displayName: Deploy ${{parameters.DeploymentType}}
|
||||
environment: github-servermanager-${{ lower(parameters.DeploymentType) }}
|
||||
workspace:
|
||||
clean: all
|
||||
|
||||
strategy:
|
||||
runOnce:
|
||||
|
|
@ -42,12 +44,9 @@ stages:
|
|||
CleanPublishFolder: false
|
||||
PublishFolder: $(PublishFolder)
|
||||
|
||||
- template: output-environment-variables.yml@self
|
||||
|
||||
- checkout: MasterRepo
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: Display Deployment Details (temp task)
|
||||
displayName: Output Deployment Details
|
||||
condition: contains(variables['system.debug'], 'true')
|
||||
inputs:
|
||||
targetType: inline
|
||||
script: |
|
||||
|
|
@ -56,6 +55,10 @@ stages:
|
|||
Write-Host "Repository folder: ${{parameters.RepositoryFolder}}"
|
||||
pwsh: true
|
||||
|
||||
- template: output-environment-variables.yml@self
|
||||
|
||||
- checkout: MasterRepo
|
||||
|
||||
- template: azure-pipelines-clean-agent.yml@self
|
||||
parameters:
|
||||
CleanArtifactsFolder: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue