mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
clean source directory removed
This commit is contained in:
parent
5be7abe147
commit
c27c9d9a85
2 changed files with 9 additions and 7 deletions
|
|
@ -5,15 +5,14 @@ parameters:
|
|||
type: string
|
||||
- name: ProjectFile
|
||||
type: string
|
||||
- name: BuildPlatform
|
||||
- name: PublishFolder
|
||||
type: string
|
||||
default: AnyCPU
|
||||
- name: BuildConfiguration
|
||||
type: string
|
||||
default: Release
|
||||
- name: PublishFolder
|
||||
- name: BuildPlatform
|
||||
type: string
|
||||
default: publish
|
||||
default: AnyCPU
|
||||
|
||||
stages:
|
||||
- stage: build
|
||||
|
|
@ -43,9 +42,9 @@ stages:
|
|||
Remove-Item -Path "$env:BUILD_BINARIESDIRECTORY\*" -Filter '*.*' -Recurse -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
|
||||
if (Test-Path $env:BUILD_SOURCESDIRECTORY) {
|
||||
Remove-Item -Path "$env:BUILD_SOURCESDIRECTORY\*" -Filter '*.*' -Recurse -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
#if (Test-Path $env:BUILD_SOURCESDIRECTORY) {
|
||||
# Remove-Item -Path "$env:BUILD_SOURCESDIRECTORY\*" -Filter '*.*' -Recurse -Force -ErrorAction SilentlyContinue
|
||||
#}
|
||||
|
||||
if (Test-Path $env:BUILD_PUBLISHDIRECTORY) {
|
||||
Remove-Item -Path "$env:BUILD_PUBLISHDIRECTORY" -Filter '*.*' -Recurse -Force -ErrorAction SilentlyContinue
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ variables:
|
|||
value: 'src/Server-Managers.sln'
|
||||
- name: ProjectFile
|
||||
value: 'src/$(ApplicationName)/$(ApplicationName).csproj'
|
||||
- name: PublishFolder
|
||||
value: publish
|
||||
|
||||
stages:
|
||||
- template: azure-pipelines-build.yml@self
|
||||
|
|
@ -26,6 +28,7 @@ stages:
|
|||
ApplicationName: $(ApplicationName)
|
||||
SolutionFile: $(SolutionFile)
|
||||
ProjectFile: $(ProjectFile)
|
||||
PublishFolder: $(PublishFolder)
|
||||
|
||||
- stage: deployBeta
|
||||
displayName: Beta
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue