File tree Expand file tree Collapse file tree 3 files changed +5
-39
lines changed
test/Microsoft.DotNet.SourceBuild.SmokeTests Expand file tree Collapse file tree 3 files changed +5
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6363
6464 - job : LicenseScan
6565 dependsOn : Setup
66+ container :
67+ image : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net8.0-source-build-test-amd64
68+ options : ' --memory=6g'
6669 pool :
6770 name : NetCore1ESPool-Svc-Internal
6871 demands : ImageOverride -equals 1es-ubuntu-2204
7174 matrix : $[ dependencies.Setup.outputs['GetMatrix.matrix'] ]
7275 steps :
7376
74- - script : $(Build.SourcesDirectory)/prep.sh --no-artifacts --no-bootstrap --no-prebuilts
75- displayName : ' Install .NET SDK'
76-
77- - task : PipAuthenticate@1
78- displayName : ' Pip Authenticate'
79- inputs :
80- artifactFeeds : public/dotnet-public-pypi
81- onlyAddExtraIndex : false
82-
83- - script : $(installerRoot)/eng/install-scancode.sh
84- displayName : Install Scancode
85-
8677 - script : >
87- $(Build.SourcesDirectory)/.dotnet/ dotnet test
78+ dotnet test
8879 $(Build.SourcesDirectory)/test/Microsoft.DotNet.SourceBuild.SmokeTests/Microsoft.DotNet.SourceBuild.SmokeTests.csproj
8980 --filter "FullyQualifiedName=Microsoft.DotNet.SourceBuild.SmokeTests.LicenseScanTests.ScanForLicenses"
9081 --logger:'trx;LogFileName=$(Agent.JobName)_LicenseScan.trx'
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public void ScanForLicenses()
146146 Assert . NotNull ( Config . LicenseScanPath ) ;
147147
148148 // Indicates how long until a timeout occurs for scanning a given file
149- const int FileScanTimeoutSeconds = 240 ;
149+ const int FileScanTimeoutSeconds = 1800 ;
150150
151151 string scancodeResultsPath = Path . Combine ( LogsDirectory , "scancode-results.json" ) ;
152152
You can’t perform that action at this time.
0 commit comments