-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
linux additional arguments fix #14183
Conversation
Will this be required for MysqlDeploymentOnMachineGroupV1 task as well ? |
This update has broken builds on our Windows build agents |
I did a bunch of testing this morning. The issue is related to the All of the following tests are on Windows in cmd.exe Both of these work
Both of these do not work:
Both result in the same error locally:
I'm not sure why, but the error from the agent is different:
MySQL Manual on
|
Issue reported here: #14352 |
@AmrutaKawade I agree,
It's quite a confusing problem, please bear with me: The actual problem, for windows, is the addition of the The fix, on Windows, is to do as the MySQL Client manual asks and switch the path separator for either The PR that introduced this issue was raised by someone using this task with an agent running on a Linux platform. Their issue was actually related to the introduction of additional I've no doubt, without testing, that the omission of the ';' delimiter after the It's a very odd problem. I believe the only fix that is required, to make this problem go away, is that when the task builds the absolute path used to reference the SQL file passed into the So rather than:
We sould get:
If you wouldn't mind pointing me in the right direction for documentation on developing DevOps pipeline tasks, I'm quite happy to take a bash at it, testing on both Windows and Linux, with and without additional |
Task name: AzureMysqlDeploymentV1
Description:
Task fails for below combination
Task fails because of not having semi-colon (;) following the MySQL Script file path.
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) #14075
Checklist: