mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue