From 18d47ec9cbc43f5dae5edae7e11536a4967b0e77 Mon Sep 17 00:00:00 2001 From: Dion Date: Thu, 4 Apr 2024 16:33:33 +0200 Subject: [PATCH] // GlobalSuppressions.cs && add more time for main pipeline --- pipelines/azure/develop-ci.yml | 2 +- .../Data/GlobalSuppressions.cs | 2 ++ starsky/starsky/GlobalSuppressions.cs | 12 ++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 starsky/starsky/GlobalSuppressions.cs diff --git a/pipelines/azure/develop-ci.yml b/pipelines/azure/develop-ci.yml index bbfb038b2b..5fded1ebc7 100644 --- a/pipelines/azure/develop-ci.yml +++ b/pipelines/azure/develop-ci.yml @@ -58,7 +58,7 @@ stages: jobs: - job: buildnetcore displayName: 'Build' - timeoutInMinutes: 25 # how long to run the job before automatically cancelling + timeoutInMinutes: 30 # how long to run the job before automatically cancelling cancelTimeoutInMinutes: 10 # how much time to give 'run always even if cancelled tasks' before stopping them pool: vmImage: 'ubuntu-22.04' diff --git a/starsky/starsky.foundation.database/Data/GlobalSuppressions.cs b/starsky/starsky.foundation.database/Data/GlobalSuppressions.cs index dcef940262..29c2717f64 100644 --- a/starsky/starsky.foundation.database/Data/GlobalSuppressions.cs +++ b/starsky/starsky.foundation.database/Data/GlobalSuppressions.cs @@ -1,5 +1,7 @@ using System.Diagnostics.CodeAnalysis; +// GlobalSuppressions.cs + // S1309: Do not suppress issues. [assembly: SuppressMessage("Sonar", "S1309", diff --git a/starsky/starsky/GlobalSuppressions.cs b/starsky/starsky/GlobalSuppressions.cs new file mode 100644 index 0000000000..8015306c78 --- /dev/null +++ b/starsky/starsky/GlobalSuppressions.cs @@ -0,0 +1,12 @@ +using System.Diagnostics.CodeAnalysis; + +// GlobalSuppressions.cs + +// S6931:Change the paths of the actions of this controller to be relative +// and add a controller route with the common prefix. +[assembly: + SuppressMessage("Sonar", "S6931", + Justification = + "Change the paths of the actions of this controller to be relative and " + + "add a controller route with the common prefix.", + Scope = "module")]