Skip to content

Implement keyword-based dynamic text replacement #1533

Implement keyword-based dynamic text replacement

Implement keyword-based dynamic text replacement #1533

Triggered via pull request November 28, 2024 13:09
Status Failure
Total duration 3m 25s
Artifacts

build-and-analyze.yml

on: pull_request
Build, test & analyze
3m 14s
Build, test & analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L47
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L55
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L47
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L83
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L91
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L79
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L104
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L116
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L114
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L140
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: src/Altinn.Notifications.Core/Services/KeywordsService.cs#L24
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
Build, test & analyze: src/Altinn.Notifications.Core/Services/KeywordsService.cs#L21
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
Build, test & analyze: src/Altinn.Notifications.Core/Services/SmsNotificationService.cs#L47
Rename parameter 'smsBody' to 'body' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
Build, test & analyze: src/Altinn.Notifications.Core/Models/Email.cs#L61
Constructor has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L11
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L12
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications.Core/Services/KeywordsService.cs#L24
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
Build, test & analyze: src/Altinn.Notifications.Core/Services/KeywordsService.cs#L21
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
Build, test & analyze: src/Altinn.Notifications.Core/Services/SmsNotificationService.cs#L47
Rename parameter 'smsBody' to 'body' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
Build, test & analyze: src/Altinn.Notifications.Core/Models/Email.cs#L61
Constructor has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Build, test & analyze
No files were found with the provided path: **/TestResults/*.trx. No artifacts will be uploaded.