|
73 | 73 | arguments: -o packages -p:BuildNumber=$(buildNumber) -p:CommitHash=$(Build.SourceVersion) -c Release $(packSuffixSwitch)
|
74 | 74 | projects: |
|
75 | 75 | **\WebJobs.Script.csproj
|
76 |
| - **\WebJobs.Script.Abstractions.csproj |
77 | 76 | **\WebJobs.Script.WebHost.csproj
|
78 | 77 | **\WebJobs.Script.Grpc.csproj
|
79 | 78 | - task: DotNetCoreCLI@2
|
|
84 | 83 | arguments: '-o packages\WebJobs.Script.Performance.App'
|
85 | 84 | projects: |
|
86 | 85 | **\WebJobs.Script.Performance.App.csproj
|
| 86 | + - task: DotNetCoreCLI@2 |
| 87 | + displayName: 'Build WebJobs.Script.Abstractions' |
| 88 | + inputs: |
| 89 | + command: 'build' |
| 90 | + arguments: '-c Release' |
| 91 | + projects: | |
| 92 | + **\WebJobs.Script.Abstractions.csproj |
| 93 | + - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 |
| 94 | + displayName: 'ESRP CodeSigning: Strong Name and Authenticode' |
| 95 | + inputs: |
| 96 | + ConnectedServiceName: 'ESRP Service' |
| 97 | + FolderPath: 'src\WebJobs.Script.Abstractions\bin\Release' |
| 98 | + Pattern: Microsoft.Azure.WebJobs.Script.Abstractions*.dll |
| 99 | + signConfigType: inlineSignParams |
| 100 | + inlineOperation: | |
| 101 | + [ |
| 102 | + { |
| 103 | + "KeyCode": "CP-230012", |
| 104 | + "OperationCode": "SigntoolSign", |
| 105 | + "Parameters": { |
| 106 | + "OpusName": "Microsoft", |
| 107 | + "OpusInfo": "http://www.microsoft.com", |
| 108 | + "FileDigest": "/fd \"SHA256\"", |
| 109 | + "PageHash": "/NPH", |
| 110 | + "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256" |
| 111 | + }, |
| 112 | + "ToolName": "sign", |
| 113 | + "ToolVersion": "1.0" |
| 114 | + }, |
| 115 | + { |
| 116 | + "KeyCode": "CP-230012", |
| 117 | + "OperationCode": "SigntoolVerify", |
| 118 | + "Parameters": {}, |
| 119 | + "ToolName": "sign", |
| 120 | + "ToolVersion": "1.0" |
| 121 | + } |
| 122 | + ] |
| 123 | + - task: DeleteFiles@1 |
| 124 | + displayName: 'Delete CodeSignSummary files' |
| 125 | + inputs: |
| 126 | + contents: '**\CodeSignSummary-*.md' |
| 127 | + - task: DotNetCoreCLI@2 |
| 128 | + displayName: 'Pack WebJobs.Script.Abstractions package' |
| 129 | + inputs: |
| 130 | + command: 'custom' |
| 131 | + custom: 'pack' |
| 132 | + arguments: '--no-build -c Release -o packages\WebJobs.Script.Abstractions' |
| 133 | + projects: | |
| 134 | + **\WebJobs.Script.Abstractions.csproj |
| 135 | + - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 |
| 136 | + displayName: 'ESRP CodeSigning: Nupkg' |
| 137 | + inputs: |
| 138 | + ConnectedServiceName: 'ESRP Service' |
| 139 | + FolderPath: 'packages\WebJobs.Script.Abstractions' |
| 140 | + Pattern: 'Microsoft.Azure.WebJobs.Script.Abstractions*.nupkg' |
| 141 | + signConfigType: inlineSignParams |
| 142 | + inlineOperation: | |
| 143 | + [ |
| 144 | + { |
| 145 | + "KeyCode": "CP-401405", |
| 146 | + "OperationCode": "NuGetSign", |
| 147 | + "Parameters": {}, |
| 148 | + "ToolName": "sign", |
| 149 | + "ToolVersion": "1.0" |
| 150 | + }, |
| 151 | + { |
| 152 | + "KeyCode": "CP-401405", |
| 153 | + "OperationCode": "NuGetVerify", |
| 154 | + "Parameters": {}, |
| 155 | + "ToolName": "sign", |
| 156 | + "ToolVersion": "1.0" |
| 157 | + } |
| 158 | + ] |
87 | 159 | - task: DotNetCoreCLI@2
|
88 | 160 | displayName: 'Build ExtensionsMetadataGenerator'
|
89 | 161 | inputs:
|
@@ -194,8 +266,8 @@ jobs:
|
194 | 266 | artifact: WebJobs.Script.Performance.App${{ variables.artifactSuffix }}
|
195 | 267 | - publish: $(Build.Repository.LocalPath)\packages\Microsoft.Azure.WebJobs.Script.Grpc.3.0.$(buildNumber)${{ variables.artifactSuffix }}.nupkg
|
196 | 268 | artifact: Microsoft.Azure.WebJobs.Script.Grpc.3.0.$(buildNumber)${{ variables.artifactSuffix }}.nupkg
|
197 |
| - - publish: $(Build.Repository.LocalPath)\packages\Microsoft.Azure.WebJobs.Script.Abstractions.3.0.$(buildNumber)${{ variables.artifactSuffix }}.nupkg |
198 |
| - artifact: Microsoft.Azure.WebJobs.Script.Abstractions.3.0.$(buildNumber)${{ variables.artifactSuffix }}.nupkg |
| 269 | + - publish: $(Build.Repository.LocalPath)\packages\WebJobs.Script.Abstractions |
| 270 | + artifact: Microsoft.Azure.WebJobs.Script.Abstractions${{ variables.artifactSuffix }} |
199 | 271 | - publish: $(Build.Repository.LocalPath)\packages\Microsoft.Azure.WebJobs.Script.WebHost.3.0.$(buildNumber)${{ variables.artifactSuffix }}.nupkg
|
200 | 272 | artifact: Microsoft.Azure.WebJobs.Script.WebHost.3.0.$(buildNumber)${{ variables.artifactSuffix }}.nupkg
|
201 | 273 |
|
|
0 commit comments