Skip to content

remove deployment dev #40

remove deployment dev

remove deployment dev #40

Re-run triggered July 2, 2024 15:40
Status Failure
Total duration 59s
Artifacts
build-and-test
1m 11s
build-and-test
build-and-deploy
48s
build-and-deploy
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 22 warnings
build-and-deploy
Execution Exception (state: ValidateAzureResource) (step: Invocation)
build-and-deploy
When request Azure resource at ValidateAzureResource, Get Function App Settings : Failed to acquire app settings from https://<scmsite>/api/settings with publish-profile
build-and-deploy
Failed to fetch Kudu App Settings. Unauthorized (CODE: 401)
build-and-deploy
Error: Failed to fetch Kudu App Settings. Unauthorized (CODE: 401) at Kudu.<anonymous> (/home/runner/work/_actions/Azure/functions-action/v1/lib/appservice-rest/Kudu/azure-app-kudu-service.js:72:23) at Generator.next (<anonymous>) at fulfilled (/home/runner/work/_actions/Azure/functions-action/v1/lib/appservice-rest/Kudu/azure-app-kudu-service.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
build-and-deploy
Deployment Failed!
build-and-test
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build-and-test
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test: LuasAPI.NET/LuasAPI.cs#L9
The type name LuasApi conflicts in whole or in part with the namespace name 'LuasAPI'. Change either name to eliminate the conflict. (https://docs.microsoft.com/visualstudio/code-quality/ca1724-type-names-should-not-match-namespaces)
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test: LuasAPI.NET/LuasAPI.cs#L9
The type name LuasApi conflicts in whole or in part with the namespace name 'LuasAPI'. Change either name to eliminate the conflict. (https://docs.microsoft.com/visualstudio/code-quality/ca1724-type-names-should-not-match-namespaces)
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-test
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build-and-test
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build-and-deploy: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-deploy: LuasAPI.NET/StationNotFoundException.cs#L8
Add the following constructor to StationNotFoundException: public StationNotFoundException(string message, Exception innerException). (https://docs.microsoft.com/visualstudio/code-quality/ca1032-implement-standard-exception-constructors)
build-and-deploy: LuasAPI.NET/Infrastructure/LuasForecastApiClient.cs#L28
Cache a 'CompositeFormat' for repeated use in this formatting operation (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1863)
build-and-deploy: LuasAPI.NET/LuasAPI.cs#L36
Change type of variable 'client' from 'LuasAPI.NET.Infrastructure.IForecastClient' to 'LuasAPI.NET.Infrastructure.LuasForecastApiClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-and-deploy: LuasAPI.NET/Models/TimeConverter.cs#L30
In externally visible method 'void TimeConverter.Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/visualstudio/code-quality/ca1062-validate-arguments-of-public-methods)
build-and-deploy: LuasAPI.NET/Models/TramForecast.cs#L38
In externally visible method 'TramForecast TramForecast.CreateTramForecastFromTramXml(TramXml tramXml, Stations stations)', validate parameter 'stations' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://docs.microsoft.com/visualstudio/code-quality/ca1062-validate-arguments-of-public-methods)
build-and-deploy: LuasAPI.NET/LuasAPI.cs#L9
The type name LuasApi conflicts in whole or in part with the namespace name 'LuasAPI'. Change either name to eliminate the conflict. (https://docs.microsoft.com/visualstudio/code-quality/ca1724-type-names-should-not-match-namespaces)
build-and-deploy: LuasAPI.AzureFunction/LuasApiFunction.cs#L22
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build-and-deploy: LuasAPI.AzureFunction/LuasApiFunction.cs#L34
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build-and-deploy: LuasAPI.AzureFunction/LuasApiFunction.cs#L34
The logging message template should not vary between calls to 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2254)