-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Regenerate baseline because last one break. #16415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
49164fe
Regenerate baseline since last one break.
sima-zhu 596e040
fix the baseline name
sima-zhu da98bdf
Put cred scan at end. Run link checker anyway
sima-zhu c10eda2
Cred scan run on failure
sima-zhu 7c26c9f
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-pytho…
sima-zhu 57de9b1
Run on failure
sima-zhu 6f3eca1
generate again using baseline
sima-zhu 2f45394
Use the right baseline name
sima-zhu d2717e7
Move analyze step back
sima-zhu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,25 +17,6 @@ jobs: | |
| vmImage: 'windows-2019' | ||
|
|
||
| steps: | ||
| - task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3 | ||
| displayName: 'Run CredScan' | ||
| inputs: | ||
| suppressionsFile: 'eng\CredScanSuppression.json' | ||
| - task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2 | ||
| displayName: 'Post Analysis' | ||
| inputs: | ||
| GdnBreakAllTools: false | ||
| GdnBreakGdnToolCredScan: true | ||
| GdnBreakGdnToolCredScanSeverity: Error | ||
| GdnBreakBaselineFiles: $(Build.SourcesDirectory)\eng\python.gdnbaselines | ||
| GdnBreakBaselines: baseline | ||
| continueOnError: true | ||
| - task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@3 | ||
| displayName: 'Publish Security Analysis Logs' | ||
| continueOnError: true | ||
| condition: succeededOrFailed() | ||
| - template: /eng/pipelines/templates/steps/analyze_dependency.yml | ||
|
|
||
| - task: AzureFileCopy@2 | ||
| displayName: 'Upload dependency report' | ||
| condition: and(succeededOrFailed(), eq(variables['System.TeamProject'], 'internal')) | ||
|
|
@@ -53,8 +34,32 @@ jobs: | |
| pwsh: true | ||
| workingDirectory: $(Build.SourcesDirectory) | ||
| filePath: eng/common/scripts/Verify-Resource-Ref.ps1 | ||
|
|
||
| - template: /eng/pipelines/templates/steps/analyze_dependency.yml | ||
|
|
||
| - task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3 | ||
| displayName: 'Run CredScan' | ||
| condition: succeededOrFailed() | ||
| inputs: | ||
| suppressionsFile: 'eng\CredScanSuppression.json' | ||
| - task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2 | ||
| displayName: 'Post Analysis' | ||
| condition: succeededOrFailed() | ||
| inputs: | ||
| GdnBreakAllTools: false | ||
| GdnBreakGdnToolCredScan: true | ||
| GdnBreakGdnToolCredScanSeverity: Error | ||
| GdnBreakBaselineFiles: $(Build.SourcesDirectory)\eng\python.gdnbaselines | ||
| GdnBreakBaselines: baseline | ||
| # Used for generating baseline file. | ||
| # GdnBreakOutputBaselineFile: python | ||
| # GdnBreakOutputBaseline: baseline | ||
| - task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@3 | ||
| displayName: 'Publish Security Analysis Logs' | ||
| continueOnError: true | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should remove this now that the baseline is updated. |
||
| condition: succeededOrFailed() | ||
| - template: ../common/pipelines/templates/steps/verify-links.yml | ||
| parameters: | ||
| Directory: "" | ||
| CheckLinkGuidance: $true | ||
| Condition: succeededOrFailed() | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was this order changed? I think this needs to be moved back.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, copy paste more than I need. Will move it backl