Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 37 additions & 36 deletions .azure/pipelines/ci-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,43 +628,44 @@ stages:
publishOnError: true
includeForks: true

# active issue: https://github.com/dotnet/aspnetcore/issues/63140
# Local development validation
- template: jobs/default-build.yml
parameters:
jobName: Local_Windows
jobDisplayName: 'Test: Windows local development validation'
agentOs: Windows
isAzDOTestingJob: true
timeoutInMinutes: 240
steps:
- script: git submodule update --init
displayName: Update submodules
- script: ./restore.cmd
displayName: Run restore.cmd
- powershell: ./eng/build.ps1 -all -noBuildJava -noBuildNodeJS "-WarnAsError:false"
displayName: Build (No NodeJS)
- script: npm run build
displayName: Build JS
- script: ./eng/build.cmd -all -noBuildJava -pack -c Debug
displayName: Build (Debug)
- script: ./eng/build.cmd -all -noBuildJava -pack -c Release
displayName: Build (Release)
- script: ./src/ProjectTemplates/build.cmd
-test
-NoRestore
-NoBuild
-NoBuildDeps
-configuration Release
-bl
displayName: Run project template tests
- powershell: . ./activate.ps1; ./src/ProjectTemplates/scripts/Run-BlazorWeb-Locally.ps1 -Verbose
displayName: Run Blazor web app test script

artifacts:
- name: Local_Windows_x64_Logs_Attempt_$(System.JobAttempt)
path: artifacts/log/
publishOnError: true
includeForks: true
# - template: jobs/default-build.yml
# parameters:
# jobName: Local_Windows
# jobDisplayName: 'Test: Windows local development validation'
# agentOs: Windows
# isAzDOTestingJob: true
# timeoutInMinutes: 240
# steps:
# - script: git submodule update --init
# displayName: Update submodules
# - script: ./restore.cmd
# displayName: Run restore.cmd
# - powershell: ./eng/build.ps1 -all -noBuildJava -noBuildNodeJS "-WarnAsError:false"
# displayName: Build (No NodeJS)
# - script: npm run build
# displayName: Build JS
# - script: ./eng/build.cmd -all -noBuildJava -pack -c Debug
# displayName: Build (Debug)
# - script: ./eng/build.cmd -all -noBuildJava -pack -c Release
# displayName: Build (Release)
# - script: ./src/ProjectTemplates/build.cmd
# -test
# -NoRestore
# -NoBuild
# -NoBuildDeps
# -configuration Release
# -bl
# displayName: Run project template tests
# - powershell: . ./activate.ps1; ./src/ProjectTemplates/scripts/Run-BlazorWeb-Locally.ps1 -Verbose
# displayName: Run Blazor web app test script

# artifacts:
# - name: Local_Windows_x64_Logs_Attempt_$(System.JobAttempt)
# path: artifacts/log/
# publishOnError: true
# includeForks: true

# Source build
- template: /eng/common/templates/job/source-build.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public static void Main(string[] args)
#endif
}

app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
#if (HasHttpsProfile)
app.UseHttpsRedirection();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
app.UseHsts();
#endif
}

app.UseStatusCodePagesWithReExecute("/not-found", createScopeForStatusCodePages: true);
#if (HasHttpsProfile)
app.UseHttpsRedirection();

Expand Down
Loading