You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, running the pipeline will scan all repos within the VMR which takes several hours to run.
10
10
The pipeline can be triggered manually to target a specific repo within the VMR by setting the `specificRepoName` parameter.
11
11
This value should be the name of the repo within the VMR (i.e. a name of a directory within https://github.com/dotnet/dotnet/tree/main/src).
12
12
To test source modifications intended to resolve a license issue, apply the change in an internal branch of the VMR.
13
13
Run this pipeline, targeting your branch, and set the `specificRepoName` parameter to the name of the repo containing the change.
14
14
15
-
The output of the pipeline is a set of test results and logs.
16
-
The logs are published as an artifact and can be found at test/Microsoft.DotNet/SourceBuild.SmokeTests/bin/Release/netX.0/logs.
17
-
It consists of the following:
18
-
*`UpdatedLicenses.<repo-name>.json`: This is the output of that gets compared to the stored baseline.
19
-
If they're the same, the test passes; if not, it fails. By comparing this file to the baseline, one can determine which new license
20
-
references have been introduced.
21
-
If everything is deemed to be acceptable, the developer can either update the allowed licenses, update the exclusions file, update the
22
-
baseline, or any combination.
23
-
*`scancode-results.json`: This is the raw output that comes from scancode. This file is useful for diagnostic purposes because it tells you
24
-
the exact line number of where a license has been detected in a file.
15
+
The output of the pipeline is a set of test results and logs which can be found at `LicenseScan {RepoName}_BuildLogs_Attempt{n}/artifacts`
16
+
The test results consists of the following:
17
+
18
+
*`UpdatedLicenses.<repo-name>.json`: This is the output of the license scan tool that gets compared to the stored baseline.
19
+
If they're the same, the test passes; if not, it fails.
20
+
By comparing this file to the baseline, one can determine which new license references have been introduced.
21
+
If everything is deemed to be acceptable, the developer can either update the allowed licenses, update the exclusions file, update the baseline, or any combination.
22
+
*`scancode-results.json`: This is the raw output that comes from scancode.
23
+
This file is useful for diagnostic purposes because it tells you the exact line number of where a license has been detected in a file.
publicstaticstringDotNetDirectory=>(string)AppContext.GetData(ConfigSwitchPrefix+nameof(DotNetDirectory))!??thrownewInvalidOperationException("DotNetDirectory must be specified");
18
18
publicstaticstringPortableRid=>(string)AppContext.GetData(ConfigSwitchPrefix+nameof(PortableRid))!??thrownewInvalidOperationException("Portable RID must be specified");
0 commit comments