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

Fixes warning in system admin section + color highlighting of warning and errors #25

Merged
merged 4 commits into from
Jul 2, 2016

Conversation

marshall777
Copy link
Contributor

Hello,

This pull request fixes the warning message displayed in administration when setting the "path to msbuild" to the directory containing msbuild.exe. Previously, you had to fill this field with the full path to msbuild.exe while Jenkins expects it to be the directory containing the executable.
This PR makes the plugin work when only the directory is set and also keep working if the full path to msbuild.exe is set for backward compatibility purpose.

Moreover, it also add color to the console log for warning and error messages generated by msbuild.

The plugin now appends "msbuild.exe" if a directory has been set as "Path
to MSBuild" in plugin administration. This makes the plugin work in both
cases : you can set the directory containing msbuild or the full path to
msbuild.exe
These modifications highlight error and warning messages generated by
MSBuild. This partialy adresses JIRA 3367.
Warning regex was some missing some messages.
@marshall777 marshall777 merged commit db1587c into jenkinsci:master Jul 2, 2016
@marshall777 marshall777 deleted the evo2 branch July 2, 2016 11:49
@daniel-beck
Copy link
Member

@marshall777 Do you want to take over as maintainer of this plugin?

@marshall777
Copy link
Contributor Author

@daniel-beck Yes, I already asked for committing rights on the jenkins mailing list

@daniel-beck
Copy link
Member

@marshall777 Looks like I missed that thread. Thanks.

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.

2 participants