pipeline file changes

This commit is contained in:
Brett Hewitson 2022-12-31 01:35:55 +10:00
parent 796ae0c772
commit d26190046d
6 changed files with 25 additions and 28 deletions

View file

@ -39,7 +39,7 @@ stages:
Write-Host "BuildPlatform: ${{parameters.BuildPlatform}}"
pwsh: true
- template: create-agent-capabilities-variables.yml@self
- template: create-agent-capabilities-variables.yml
- task: PowerShell@2
displayName: Write Environment Variables
@ -81,7 +81,7 @@ stages:
inputs:
restoreSolution: '${{parameters.SolutionFile}}'
- template: update-semantic-versioning-in-assembyinfo-files.yml@self
- template: update-semantic-versioning-in-assembyinfo-files.yml
parameters:
ApplicationName: ${{parameters.ApplicationName}}
PathToSearch: '$(Build.SourcesDirectory)/src'
@ -167,7 +167,7 @@ stages:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: '${{parameters.PublishFolder}}'
- template: clean-agent-folders.yml@self
- template: clean-agent-folders.yml
parameters:
CleanArtifactsFolder: true
CleanBinariesFolder: true

View file

@ -185,17 +185,17 @@ stages:
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
displayName: Set New Pipeline Version Variable Values
- template: update-pipeline-variable.yml@self
- template: update-pipeline-variable.yml
parameters:
VariableName: 'VersionBuild'
VariableValue: $(NewVersionBuild)
- template: update-pipeline-variable.yml@self
- template: update-pipeline-variable.yml
parameters:
VariableName: 'VersionRevision'
VariableValue: $(NewVersionRevision)
- template: clean-agent-folders.yml@self
- template: clean-agent-folders.yml
parameters:
CleanArtifactsFolder: true
CleanBinariesFolder: true

View file

@ -1,16 +1,11 @@
name: $(VersionMajor).$(VersionMinor).$(VersionBuild).$(VersionRevision)
#trigger:
# branches:
# include:
# - source
# paths:
# include:
# - src
trigger: none
pr: none
#pool:
pool:
name: Default
# vmImage: windows-latest
# demands: InnoSetup
resources:
repositories:
@ -28,7 +23,7 @@ variables:
value: 'src/$(ApplicationName)/$(ApplicationName).csproj'
stages:
- template: azure-pipelines-discordplugin-build.yml@self
- template: azure-pipelines-discordplugin-build.yml
parameters:
ApplicationName: $(ApplicationName)
SolutionFile: $(SolutionFile)
@ -37,7 +32,7 @@ stages:
BuildPlatform: $(BuildPlatform)
PublishFolder: $(PublishFolder)
- template: azure-pipelines-discordplugin-deploy.yml@self
- template: azure-pipelines-discordplugin-deploy.yml
parameters:
DeploymentType: Beta
DependsOn: build
@ -47,7 +42,7 @@ stages:
GitEmail: $(GitEmail)
GitUsername: $(GitUsername)
- template: azure-pipelines-discordplugin-deploy.yml@self
- template: azure-pipelines-discordplugin-deploy.yml
parameters:
DeploymentType: Production
DependsOn: Beta

View file

@ -39,7 +39,7 @@ stages:
Write-Host "BuildPlatform: ${{parameters.BuildPlatform}}"
pwsh: true
- template: create-agent-capabilities-variables.yml@self
- template: create-agent-capabilities-variables.yml
- task: PowerShell@2
displayName: Write Environment Variables
@ -81,7 +81,7 @@ stages:
inputs:
restoreSolution: '${{parameters.SolutionFile}}'
- template: update-semantic-versioning-in-assembyinfo-files.yml@self
- template: update-semantic-versioning-in-assembyinfo-files.yml
parameters:
ApplicationName: ${{parameters.ApplicationName}}
PathToSearch: '$(Build.SourcesDirectory)/src'
@ -256,7 +256,7 @@ stages:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: '${{parameters.PublishFolder}}'
- template: clean-agent-folders.yml@self
- template: clean-agent-folders.yml
parameters:
CleanArtifactsFolder: true
CleanBinariesFolder: true

View file

@ -187,17 +187,17 @@ stages:
Write-Host "##vso[task.setvariable variable=NewVersionRevision;]$newValue"
displayName: Set New Pipeline Version Variable Values
- template: update-pipeline-variable.yml@self
- template: update-pipeline-variable.yml
parameters:
VariableName: 'VersionBuild'
VariableValue: $(NewVersionBuild)
- template: update-pipeline-variable.yml@self
- template: update-pipeline-variable.yml
parameters:
VariableName: 'VersionRevision'
VariableValue: $(NewVersionRevision)
- template: clean-agent-folders.yml@self
- template: clean-agent-folders.yml
parameters:
CleanArtifactsFolder: true
CleanBinariesFolder: true

View file

@ -7,10 +7,12 @@ trigger:
paths:
include:
- src
pr: none
pool:
# vmImage: windows-latest
name: Default
demands: InnoSetup
# vmImage: windows-latest
resources:
repositories:
@ -28,7 +30,7 @@ variables:
value: 'src/$(ApplicationName)/$(ApplicationName).csproj'
stages:
- template: azure-pipelines-servermanagers-build.yml@self
- template: azure-pipelines-servermanagers-build.yml
parameters:
ApplicationName: $(ApplicationName)
SolutionFile: $(SolutionFile)
@ -37,7 +39,7 @@ stages:
BuildPlatform: $(BuildPlatform)
PublishFolder: $(PublishFolder)
- template: azure-pipelines-servermanagers-deploy.yml@self
- template: azure-pipelines-servermanagers-deploy.yml
parameters:
DeploymentType: Beta
DependsOn: build
@ -47,7 +49,7 @@ stages:
GitEmail: $(GitEmail)
GitUsername: $(GitUsername)
- template: azure-pipelines-servermanagers-deploy.yml@self
- template: azure-pipelines-servermanagers-deploy.yml
parameters:
DeploymentType: Production
DependsOn: Beta