@@ -3,7 +3,7 @@ parameters:
3
3
JobLabel : ' '
4
4
CustomSensitiveDataList : ' '
5
5
# A default - in case value from eng/common/templates/post-build/common-variables.yml is not passed
6
- BinlogToolVersion : ' 1.0.8 '
6
+ BinlogToolVersion : ' 1.0.9 '
7
7
8
8
steps :
9
9
- task : Powershell@2
@@ -15,31 +15,30 @@ steps:
15
15
Move-Item -Path $(Build.SourcesDirectory)/artifacts/log/Debug/* $(Build.SourcesDirectory)/PostBuildLogs/${{parameters.StageLabel}}/${{parameters.JobLabel}}/
16
16
continueOnError : true
17
17
condition : always()
18
-
19
- # TODO: Disabled - https://github.com/dotnet/dnceng/issues/1675
20
- # - task: PowerShell@2
21
- # displayName: Redact Logs
22
- # inputs:
23
- # filePath: $(Build.SourcesDirectory)/eng/common/post-build/redact-logs.ps1
24
- # # For now this needs to have explicit list of all sensitive data. Taken from eng/publishing/v3/publish.yml
25
- # # Sensitive data can as well be added to $(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'
26
- # # If the file exists - sensitive data for redaction will be sourced from it
27
- # # (single entry per line, lines starting with '# ' are considered comments and skipped)
28
- # arguments: -InputPath '$(Build.SourcesDirectory)/PostBuildLogs'
29
- # -BinlogToolVersion ${{parameters.BinlogToolVersion}}
30
- # -TokensFilePath '$(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'
31
- # '$(publishing-dnceng-devdiv-code-r-build-re)'
32
- # '$(MaestroAccessToken)'
33
- # '$(dn-bot-all-orgs-artifact-feeds-rw)'
34
- # '$(akams-client-id)'
35
- # '$(akams-client-secret)'
36
- # '$(microsoft-symbol-server-pat)'
37
- # '$(symweb-symbol-server-pat)'
38
- # '$(dn-bot-all-orgs-build-rw-code-rw)'
39
- # ${{parameters.CustomSensitiveDataList}}
40
- # continueOnError: true
41
- # condition: always()
42
-
18
+
19
+ - task : PowerShell@2
20
+ displayName : Redact Logs
21
+ inputs :
22
+ filePath : $(Build.SourcesDirectory)/eng/common/post-build/redact-logs.ps1
23
+ # For now this needs to have explicit list of all sensitive data. Taken from eng/publishing/v3/publish.yml
24
+ # Sensitive data can as well be added to $(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'
25
+ # If the file exists - sensitive data for redaction will be sourced from it
26
+ # (single entry per line, lines starting with '# ' are considered comments and skipped)
27
+ arguments : -InputPath '$(Build.SourcesDirectory)/PostBuildLogs'
28
+ -BinlogToolVersion ${{parameters.BinlogToolVersion}}
29
+ -TokensFilePath '$(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'
30
+ ' $(publishing-dnceng-devdiv-code-r-build-re)'
31
+ ' $(MaestroAccessToken)'
32
+ ' $(dn-bot-all-orgs-artifact-feeds-rw)'
33
+ ' $(akams-client-id)'
34
+ ' $(akams-client-secret)'
35
+ ' $(microsoft-symbol-server-pat)'
36
+ ' $(symweb-symbol-server-pat)'
37
+ ' $(dn-bot-all-orgs-build-rw-code-rw)'
38
+ ${{parameters.CustomSensitiveDataList}}
39
+ continueOnError : true
40
+ condition : always()
41
+
43
42
- task : PublishBuildArtifacts@1
44
43
displayName : Publish Logs
45
44
inputs :
0 commit comments