I have 'dotnet jb inspectcode' task in bb pipeline which fails with warnings but without error , same task runs file locally on windows from command line..
all warnings (same warnings locally, but html report was created) are about possible nulls and not signed assembly
Warning: [MsBuild] /opt/atlassian/pipelines/agent/build/BiscomAwsKmsHelper/WinCred/ModelActions.cs (156,16)->(156,16) CS8603: Possible null reference return.
Warning: [MsBuild] CSC (0,0)->(0,0) CS8002: Referenced assembly 'Meziantou.Framework.Win32.CredentialManager, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
Hello @Alex Bondarev ,
thank you for reaching out to the Community!
The reason why you are getting a different output when running locally compared with pipelines may be because the environment settingsare different across both of them, such as the dotnet core version, dependencies you have installed, and the operating system.
For us to better understand the issue, I would like to ask you a few questions:
bitbucket-pipelines.yml
to matchThank you, @Alex Bondarev .
Patrik S
pipeline runs in bitbucket cloud, build is fine
pipeline yml file starts with - i understand that this is linux image
```
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.