However, it seems like the “projectBaseDir” config entry is not being read correctly, because the subsequent “SonarQubeAnalyze@7” task fails. See the attached “SonarQubeAnalyze.log” file.
Why do you have 3 quotes? That looks like a bug, because there is no closing quote.
What do the four asterisks represent? Are they a glob pattern? Where is this documented?
According to the documentation, you are not supposed to add a glob pattern to the project base directory, because it is exactly that: a base directory specification, not an array of files to include.
Furthermore, I tried it out, and it just gives me this error:
##[error]Unhandled Exception:
##[error]System.ArgumentException: Illegal characters in path.
To clarify, the ’ character is called an apostrophe or a single quote. It is not a tick.
I tried adding 3 single quotes, but it makes SonarQube crash with a syntax error, as expected. Thanks anyways, I will wait for another to respond.
Dennis,
Thank you. However, even after updating to version 7.0.2, I still experience the same behavior. Can you advise?
In this case, I do not think that “removing backslashes” would be an issue, because then I would expect SonarQube to be throwing an error something along the lines of:
The path you specified in the "projectBaseDir" option does not exist: CFooBar
Can I ask you to try pinning the version of S4NET to the freshly baked hotfix version, by adding this on your inputs:
dotnetScannerVersion: '9.0.2.104486'
If everything works as expected, we will soon go ahead with embedding this version on the AZDO extension (meaning you will be able to remove the pinning).
Sorry for the delay.
There shouldn’t be a difference between AZDO Server and AZDO Services.
Since you are already using the extension, you just need to set the property I mentioned.