"##[error]System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."

We are trying to run sonar cloud analysis in Azure DevOps, but it is throwing
“##[error]System.IO.PathTooLongException:
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.” as Azure DevOps is creating the folder for the run cloud analysis by appending a string. So we wanted to rename the folder where all the reports are published. Can you please guide us how to do this.

Hi Rakesh,

Where is your agent located in your machine ?

What is the name of the build instance (build number) ?

Thanks.

Mickaël

Hi,

The agent is located in C drive under C:/Agent.

The name of the build instance is Default (build number is 5400).

Thanks,
Rakesh

Hi,

Could you please post the full log of the run code analysis task please ? If possible, with debug activated.

Thank you.

Hi,

I am attaching the error log file

Thanks,
Rakesh Satelli | GGK** Tech ** | www.ggktech.com | Delivering Commitments.

Plot #59, Road #71, Phase III, Jubilee Hills, Hyderabad – 500096

GGK Technologies respects your privacy. This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you have received this message in error, or do not want to receive any further emails from us, please notify us immediately by replying to the message and deleting it from your computer.

(Attachment run code analysis.log is missing)

Hi,

I am attaching the error log file

Thanks,
Rakesh Satelli | GGK** Tech ** | www.ggktech.com | Delivering Commitments.

Plot #59, Road #71, Phase III, Jubilee Hills, Hyderabad – 500096

GGK Technologies respects your privacy. This email is intended only for the use of the party to which it is addressed and may contain information that is privileged, confidential, or protected by law. If you have received this message in error, or do not want to receive any further emails from us, please notify us immediately by replying to the message and deleting it from your computer.


mickaelcaro

      [Mickaël Caro](https://community.sonarsource.com/u/mickaelcaro)

      SonarSourcer




    August 14

Hi,

Could you please post the full log of the run code analysis task please ? If possible, with debug activated.

Thank you.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

run code analysis.txt (5.15 KB)