Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Name Contains Invalid Characters Error while uploading result file via cloc plugin in Azure DevOps #20

Open
SRP07 opened this issue Mar 14, 2022 · 0 comments

Comments

@SRP07
Copy link

SRP07 commented Mar 14, 2022

Hi,

I am using the Count Lines of Code plugin in my azure devops pipeline to count the lines for my javascript source code, however the tasks fails while uploading the file with below error.

Uploading result file from e:\cache\Agent03\11\s\cloc.result.md
##[error]Unable to process command '##vso[task.addattachment type=Distributedtask.Core.Summary;name=cloc e:\cache\Agent03\11\s\PSP.Web.UI\app\scripts\;]e:\cache\Agent03\11\s\cloc.result.md' successfully. Please reference documentation (http://go.microsoft.com/fwlink/?LinkId=817296)
##[error]Name contains invalid characters. (", <, >, |, , �, �, �, �, �, �, �, �, 	, 

Attaching the screenshot of the values provided in the plugin for references, I want this plugin to display the result on the build summary.
I also noticed that this task by default creates the result in cloc.result.md file. I tried passing arguments explicitly by different file names but it still took the same file name.

Can you please guide me how can I resolve this error?
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant