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

PublishBuildArtifact creates error on path with spaces #1131

Closed
GerwinNL opened this issue Jan 26, 2016 · 3 comments
Closed

PublishBuildArtifact creates error on path with spaces #1131

GerwinNL opened this issue Jan 26, 2016 · 3 comments

Comments

@GerwinNL
Copy link

We currently run into problems on the Hosted Agent.
We use a task PublishBuildArtifacts (1.0.24) to make some artifacts. Previously, when there was a space in the PathToPublish there where no problems, but recently we get the following error :

[error]System.ArgumentException: Illegal characters in path.

Works : PathtoPublish=C:\a\1\s\AGB\10-Vektis.AGB.FEBeheerAGB\Main\Configs\OT
Fails : PathtoPublish="C:\a\1\s\AGB\10 - Vektis.AGB.FEBeheerAGB\Main\Configs\OT

We CAN rework the scripts, but we consider this behaviour as faulty.
Is this by design ? Will this be resolved ?

Gerwin

@chrispat
Copy link
Contributor

This is a bug we discovered. Ting where we on the fix?

From: GerwinNL [mailto:[email protected]]
Sent: Tuesday, January 26, 2016 7:24 AM
To: Microsoft/vso-agent-tasks [email protected]
Subject: [vso-agent-tasks] PublishBuildArtifact creates error on path with spaces (#1131)

We currently run into problems on the Hosted Agent
We use a task PublishBuildArtifacts (1024) to make some artifacts Previously, when there was a space in the PathToPublish there where no problems, but recently we get the following error :
##[error]SystemArgumentException: Illegal characters in path

Works : PathtoPublish=C:\a\1\s\AGB\10-VektisAGBFEBeheerAGB\Main\Configs\OT
Fails : PathtoPublish="C:\a\1\s\AGB\10 - VektisAGBFEBeheerAGB\Main\Configs\OT

We CAN rework the scripts, but we consider this behaviour as faulty
Is this by design ? Will this be resolved ?

Gerwin


Reply to this email directly or view it on GitHubhttps://github.com//issues/1131.

@chrispat
Copy link
Contributor

We apologize for the issue. There is a hotfix going out to the service in the next hour that should resolve it.

@GerwinNL
Copy link
Author

Chris,

We appreciate your prompt response.
Thanks to Ting as well :)

We will check it out as soon as the fix is available to us.

Gerwin

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

2 participants