Skip to content

Commit 08428e1

Browse files
committed
Import global variables all mgmt jobs
1 parent f745cba commit 08428e1

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

eng/pipelines/mgmt.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,15 @@ pr:
149149
- sdk/websites/Microsoft.Azure.Management.WebSites
150150
- sdk/workloadmonitor/Microsoft.Azure.Management.WorkloadMonitor
151151
variables:
152-
skipComponentGovernanceDetection: true
153-
msBuildLogDir: msbuildlogs
154-
loggingArgs: /clp:ShowtimeStamp /flp:LogFile=$(msBuildLogDir)/msbuild.normal.log;Verbosity=normal /flp1:Summary;Verbosity=minimal;LogFile=$(msBuildLogDir)/msbuild.sum.log /flp2:warningsonly;logfile=$(msBuildLogDir)/msbuild.wrn.log /flp3:errorsonly;logfile=$(msBuildLogDir)/msbuild.err.log
155-
RPScopeArgs: /p:PullRequestNumber=$(system.pullrequest.pullrequestnumber) /p:RepoHtmlUrl=https://github.com/$(build.repository.id) /p:CIBuildId=$(OfficialBuildId)
156-
timeoutInMinutes: 120
152+
- template: templates/variables/globals.yml
153+
- name: msBuildLogDir
154+
value: msbuildlogs
155+
- name: loggingArgs
156+
value: /clp:ShowtimeStamp /flp:LogFile=$(msBuildLogDir)/msbuild.normal.log;Verbosity=normal /flp1:Summary;Verbosity=minimal;LogFile=$(msBuildLogDir)/msbuild.sum.log /flp2:warningsonly;logfile=$(msBuildLogDir)/msbuild.wrn.log /flp3:errorsonly;logfile=$(msBuildLogDir)/msbuild.err.log
157+
- name: RPScopeArgs
158+
value: /p:PullRequestNumber=$(system.pullrequest.pullrequestnumber) /p:RepoHtmlUrl=https://github.com/$(build.repository.id) /p:CIBuildId=$(OfficialBuildId)
159+
- name: timeoutInMinutes
160+
value: 120
157161
jobs:
158162
- template: templates/jobs/archetype-sdk-mgmt.yml
159163
parameters:

eng/pipelines/templates/jobs/archetype-sdk-mgmt.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ jobs:
7676
# pathtoPublish: $(msBuildLogDir)
7777
# artifactName: MsBuildLogs
7878
- job: "Analyze"
79-
variables:
80-
- template: ../variables/globals.yml
8179
dependsOn:
8280
- Build
8381
pool:

0 commit comments

Comments
 (0)