1
- trigger : none
1
+ trigger :
2
+ - master
2
3
3
4
pr :
4
5
autoCancel : true
10
11
exclude :
11
12
- docs/*
12
13
- THIRD-PARTY-NOTICES.TXT
13
- - LICENSE.TXT
14
+ - License.txt
14
15
15
16
variables :
16
17
- name : _TeamName
17
18
value : DotNetCore
18
- - name : _DotNetArtifactsCategory
19
- value : .NETCore
19
+ - name : _SignType
20
+ value : real
20
21
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
21
- - name : _SignType
22
- value : real
23
- - name : _PublishBlobFeedUrl
24
- value : https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
25
22
# DotNet-Blob-Feed provides: dotnetfeed-storage-access-key-1
26
23
# DotNet-Diagnostics-SDL-Params provides Tsa* variables for SDL checks.
27
24
# DotNet-Symbol-Server-Pats provides: provides microsoft-symbol-server-pat and symweb-symbol-server-pat
@@ -68,17 +65,13 @@ stages:
68
65
matrix :
69
66
build_debug :
70
67
_BuildConfig : Debug
68
+ _InternalBuildArgs : ' '
71
69
build_release :
72
70
_BuildConfig : Release
73
71
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
74
- _InternalBuildArgs : /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName)
75
- /p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
76
- /p:DotNetPublishBlobFeedKey=$(dotnetfeed-storage-access-key-1)
77
- /p:DotNetPublishBlobFeedUrl=$(_PublishBlobFeedUrl)
78
- /p:DotNetPublishToBlobFeed=$(PublishPackages)
72
+ _InternalBuildArgs : /p:DotNetSignType=$(_SignType)
73
+ /p:TeamName=$(_TeamName)
79
74
/p:DotNetPublishUsingPipelines=$(PublishPackages)
80
- /p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat)
81
- /p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)
82
75
/p:OfficialBuildId=$(BUILD.BUILDNUMBER)
83
76
84
77
steps :
@@ -91,16 +84,6 @@ stages:
91
84
displayName : Build
92
85
condition : succeeded()
93
86
94
- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
95
- - task : PublishBuildArtifacts@1
96
- displayName : Publish Package Artifacts
97
- inputs :
98
- PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/packages'
99
- PublishLocation : Container
100
- ArtifactName : Packages
101
- continueOnError : true
102
- condition : always()
103
-
104
87
- job : Linux
105
88
container : LinuxContainer
106
89
pool :
@@ -172,5 +155,5 @@ stages:
172
155
-TsaCodebaseName "symstore"
173
156
-TsaPublish $True'
174
157
artifactNames :
175
- - ' Packages '
158
+ - ' PackageArtifacts '
176
159
0 commit comments