File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ parameters:
3232 displayName : Create hotfix PRs and Release
3333 type : boolean
3434 default : false
35+ - name : deploy_all_tasks
36+ displayName : Build all tasks for deployment
37+ type : boolean
38+ default : false
3539
3640variables :
3741 currentDate : $[ format('{0:yyyy}{0:MM}{0:dd}', pipeline.startTime) ]
@@ -110,6 +114,8 @@ jobs:
110114 name : 1ES-Shared-Hosted-Pool_Windows-Server-2022
111115 steps :
112116 - template : ci/build-all-tasks.yml
117+ parameters :
118+ deploy_all_tasks : ${{ parameters.deploy_all_tasks }}
113119
114120 # All tasks on Linux
115121 - job : build_all_linux
Original file line number Diff line number Diff line change 11# This YAML is intended for building ALL tasks and publish them as an artifact
22# to be used later for Tasks Deployment train
3+ parameters :
4+ - name : deploy_all_tasks
5+ type : boolean
36
47steps :
58# Clean
@@ -22,7 +25,13 @@ steps:
2225
2326# Build tasks
2427- script : node make.js serverBuild --task "$(task_pattern)"
25- displayName : Build tasks
28+ displayName : Build tasks using pattern
29+ condition : and(succeeded(), eq(parameters.deploy_all_tasks, 'false'))
30+
31+ # Build all tasks
32+ - script : node make.js serverBuild
33+ displayName : Build all tasks
34+ condition : and(succeeded(), eq(parameters.deploy_all_tasks, 'true'))
2635
2736# Stage tasks individually into the package directory
2837- script : node ./ci/stage-package.js true individually
You can’t perform that action at this time.
0 commit comments