[
https://issues.jenkins-ci.org/browse/JENKINS-12161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159217#comment-159217
]
SCM/JIRA link daemon commented on JENKINS-12161:
------------------------------------------------
Code changed in jenkins
User: rseguy
Path:
src/main/java/com/michelin/cio/hudson/plugins/maskpasswords/MaskPasswordsBuildWrapper.java
http://jenkins-ci.org/commit/mask-passwords-plugin/b2ebd334f3ab11e2c575d1341f1aeaa163a55927
Log:
[FIXED JENKINS-12161] env-inject vars may not be masked because of plugins
loading order
> passwords are not removed in some cases
> ---------------------------------------
>
> Key: JENKINS-12161
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12161
> Project: Jenkins
> Issue Type: Bug
> Components: mask-passwords
> Affects Versions: current
> Reporter: Andrei F
> Assignee: Romain Seguy
> Attachments: mask-passwords.hpi
>
>
> In some cases, passwords are not removed from the output. See example -
> password TestProjectTest_Password is not removed in the beginning of the
> output, but removed in further output
> Started by user Andrei F
> [EnvInject] - Preparing an environment for the job.
> Building remotely on csharp4_windows
> [copy-to-slave] Copying 'TestProject/**/*', excluding nothing, from
> 'file:/C:/Websites/hudson/userContent/' on the master to
> 'file:/c:/dev/workspace/TestProject_Testing/' on 'csharp4_windows'.
> [EnvInject] - Injecting as environment variables the properties content
> TestProjectTest_UserName=MyUserName
> TestProjectTest_Password=MyUserPassword
> Path To MSBuild.exe: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
> Executing command: cmd.exe /C
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
> /P:TestProjectTest_Password=******** TestProject/test.xml && exit
> %%ERRORLEVEL%%
> [TestProject_Testing] $ cmd.exe /C
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
> /P:TestProjectTest_Password=******** TestProject/test.xml && exit
> %%ERRORLEVEL%%
> Microsoft (R) Build Engine Version 4.0.30319.1
> [Microsoft .NET Framework, Version 4.0.30319.1]
> Copyright (C) Microsoft Corporation 2007. All rights reserved.
> Build started 12/19/2011 12:03:01 PM.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira