Skip to content

Commit

Permalink
Fix the issue of security tools pipeline (Azure#19732)
Browse files Browse the repository at this point in the history
* Update the pool names

* update the task name

* update the task name
  • Loading branch information
wyunchi-ms authored Oct 6, 2022
1 parent 75f843b commit c540f12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/security-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
displayName: Build
inputs:
targetType: inline
script: dotnet msbuilc build.proj /t:"Build;GenerateHelp" /p:"PullRequestNumber=$(System.PullRequest.PullRequestNumber);IsSecurityCheck=true"
script: dotnet msbuild build.proj /t:"Build;GenerateHelp" /p:"PullRequestNumber=$(System.PullRequest.PullRequestNumber);IsSecurityCheck=true"
env:
OCTOKITPAT: $(OCTOKITPAT)
OCTOKITPAT: $(OCTOKITPAT)
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
displayName: Run CredScan
condition: in(variables['system.pullRequest.targetBranch'], 'generation', 'main')
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/util/download-build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:

steps:
- task: DownloadPipelineArtifact@0
displayName: 'Download {{ parameters.artifactName }}'
displayName: 'Download ${{ parameters.artifactName }}'
inputs:
artifactName: ${{ parameters.artifactName }}
targetPath: artifacts

0 comments on commit c540f12

Please sign in to comment.