-
Notifications
You must be signed in to change notification settings - Fork 197
Fix issue 2267: appsourcecop.json is not created for testapps #2283
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -216,7 +216,11 @@ try { | |
|
|
||
| # Generate AppSourceCop.json with mandatory affixes / obsoleteTag settings (always when AppSourceCop is enabled) | ||
| # When baseline apps are available, also include the baseline version + package cache path for breaking change detection | ||
| New-AppSourceCopJson -AppFolders $settings.appFolders -BaselineApps $baselineApps -BaselinePackageCachePath $packageCachePath -CompilerFolder $compilerFolder -Settings $settings | ||
| $appSourceCopFolders = @($settings.appFolders) | ||
| if ($settings.enableCodeAnalyzersOnTestApps) { | ||
| $appSourceCopFolders += @($settings.testFolders) + @($settings.bcptTestFolders) | ||
| } | ||
| New-AppSourceCopJson -AppFolders $appSourceCopFolders -BaselineApps $baselineApps -BaselinePackageCachePath $packageCachePath -CompilerFolder $compilerFolder -Settings $settings | ||
|
spetersenms marked this conversation as resolved.
Collaborator
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. This would only modify the logic when workspace compilation is enabled. From the logs in the linked issue it seems like that is not the case in their build. In their case the compilation seems to happen as part of Run-ALPipeline
Collaborator
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.
Contributor
Author
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. The issue exist in both places. Here is a PR for container helper: microsoft/navcontainerhelper#4163 |
||
| } | ||
|
|
||
| # Update the app jsons with version number (and other properties) from the app manifest files | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.