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

[CMakeV1] Made the task to be executed through shell. #12880

Conversation

egor-bryzgalov
Copy link
Member

@egor-bryzgalov egor-bryzgalov commented May 12, 2020

Related to issue #12848

Made the task to be executed through shell specific for the environment to handle variables in command string properly.

NOTE: These changes in azure-pipelines-task-lib are required.

As long as 'shell' property of IExecOption object is set to 'true' the command will be executed with shell and environment variables will be properly interpreted for cmakeArgs.
@jtpetty
Copy link
Contributor

jtpetty commented May 12, 2020

@egor-bryzgalov - There seems to be some issues with CI for this PR. Once all the tests are passing, I will review the PR.

@jtpetty
Copy link
Contributor

jtpetty commented May 12, 2020

Also, @egor-bryzgalov, if you need assistance figuring out what is going on, please feel free to reach out and I can help dig in with you.

@damccorm
Copy link

You're going to have to update to the most recent version of the task-lib. Since its currently pinned to ^2.9.3 in the package.json and 2.9.3 in the package-lock, it won't get updated (since 2.9.3 satisfies the ^2.9.3 requirement). To update you can just change it to ^2.9.5 in the package.json and run npm install

@damccorm
Copy link

@jtpetty this should be ready for review from your team

Copy link
Contributor

@jtpetty jtpetty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@egor-bryzgalov egor-bryzgalov merged commit c24f64a into master May 13, 2020
@egor-bryzgalov egor-bryzgalov deleted the users/egor.bryzgalov/fix12848-CMakeV1-added_shell_exec_option branch May 13, 2020 19:49
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

Successfully merging this pull request may close these issues.

None yet

3 participants