mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
pipeline file changes
This commit is contained in:
parent
8a37b782f5
commit
03a86c672f
3 changed files with 3 additions and 3 deletions
58
.azure/pipelines/azure-pipelines-servermanagers.yml
Normal file
58
.azure/pipelines/azure-pipelines-servermanagers.yml
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
name: $(VersionMajor).$(VersionMinor).$(VersionBuild).$(VersionRevision)
|
||||
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- source
|
||||
paths:
|
||||
include:
|
||||
- src
|
||||
|
||||
pool:
|
||||
# vmImage: windows-latest
|
||||
demands: InnoSetup
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: MasterRepo
|
||||
type: GitHub
|
||||
endpoint: Bletch1971
|
||||
name: Bletch1971/ServerManagers
|
||||
|
||||
variables:
|
||||
- name: ApplicationName
|
||||
value: $(Build.DefinitionName)
|
||||
- name: SolutionFile
|
||||
value: 'src/Server-Managers.sln'
|
||||
- name: ProjectFile
|
||||
value: 'src/$(ApplicationName)/$(ApplicationName).csproj'
|
||||
|
||||
stages:
|
||||
- template: azure-pipelines-servermanagers-build.yml@self
|
||||
parameters:
|
||||
ApplicationName: $(ApplicationName)
|
||||
SolutionFile: $(SolutionFile)
|
||||
ProjectFile: $(ProjectFile)
|
||||
BuildConfiguration: $(BuildConfiguration)
|
||||
BuildPlatform: $(BuildPlatform)
|
||||
PublishFolder: $(PublishFolder)
|
||||
|
||||
- template: azure-pipelines-servermanagers-deploy.yml@self
|
||||
parameters:
|
||||
DeploymentType: Beta
|
||||
DependsOn: build
|
||||
ApplicationName: $(ApplicationName)
|
||||
PublishFolder: $(PublishFolder)
|
||||
RepositoryFolder: $(RepositoryFolderBeta)
|
||||
GitEmail: $(GitEmail)
|
||||
GitUsername: $(GitUsername)
|
||||
|
||||
- template: azure-pipelines-servermanagers-deploy.yml@self
|
||||
parameters:
|
||||
DeploymentType: Production
|
||||
DependsOn: Beta
|
||||
ApplicationName: $(ApplicationName)
|
||||
PublishFolder: $(PublishFolder)
|
||||
RepositoryFolder: $(RepositoryFolderProduction)
|
||||
GitEmail: $(GitEmail)
|
||||
GitUsername: $(GitUsername)
|
||||
Loading…
Add table
Add a link
Reference in a new issue