Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional - turned on by default - post-build cleanup #154

Open
wants to merge 1 commit into
base: vnext
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion azure-pipelines/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ trigger:
branches:
include:
- 'vnext'
- 'btraykov-azure-pipeline'
- 'master'

# This pipeline is meant to run on changes pushed to the vnext branch only.
Expand All @@ -16,6 +15,10 @@ parameters:
displayName: 'Get verbose output from steps - where configurable'
type: boolean
default: false
- name: shouldCleanPostExectuion
displayName: 'Clean all pipeline dirs after the pipeline finishes?'
type: boolean
default: true

pool:
name: BuildAgentOnPrem
Expand Down Expand Up @@ -76,3 +79,6 @@ jobs:

# TODO Once the project can adhere to the IG Angular schematic,
# use it or use npx to call igniteui-cli to apply the Angular schematic (trial -> licensed)

- ${{ if eq(parameters.shouldCleanPostExectuion, true) }}:
- task: PostBuildCleanup@4
Loading