[
https://issues.apache.org/jira/browse/SCM-763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422743#comment-16422743
]
Michael Osipov commented on SCM-763:
------------------------------------
The following has been tried in Konsole on Fedora 27:
{noformat}
mosipov@localhost SCM-763]$ mvn scm:list -Dpassword=toll
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< net.sf.michael-o.dirctxsrc:dircontextsource >-------------
[INFO] Building dircontextsource 2.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-scm-plugin:1.9.6-SNAPSHOT:list (default-cli) @
dircontextsource ---
[INFO] Executing: /bin/sh -c cd /tmp && svn --password '*****' --no-auth-cache
--non-interactive list --recursive
file:///D:/Entwicklung/svn-repos/scm-svn-test-at-sign/branches/toll2/.
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: E170013: Unable to connect to a repository at URL
'file:///D:/Entwicklung/svn-repos/scm-svn-test-at-sign/branches/toll2'
svn: E180001: Unable to open repository
'file:///D:/Entwicklung/svn-repos/scm-svn-test-at-sign/branches/toll2'{noformat}
as well as with space
{noformat}
mosipov@localhost SCM-763]$ mvn scm:list -Dpassword=toll
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< net.sf.michael-o.dirctxsrc:dircontextsource >-------------
[INFO] Building dircontextsource 2.1.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-scm-plugin:1.9.6-SNAPSHOT:list (default-cli) @
dircontextsource ---
[INFO] Executing: /bin/sh -c cd /tmp && svn --password '*****' --no-auth-cache
--non-interactive list --recursive
file:///D:/Entwicklung/svn-repos/scm-svn-test-at-sign/branches/toll2/.
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: E170013: Unable to connect to a repository at URL
'file:///D:/Entwicklung/svn-repos/scm-svn-test-at-sign/branches/toll2'
svn: E180001: Unable to open repository
'file:///D:/Entwicklung/svn-repos/scm-svn-test-at-sign/branches/toll2'
{noformat}
Yes, there are shortcoming, but I cannot reproduce the depicted case. Can
someone provide a test sample?
> Password masking on linux does not work
> ---------------------------------------
>
> Key: SCM-763
> URL: https://issues.apache.org/jira/browse/SCM-763
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-svn
> Affects Versions: 1.9
> Environment: Jenkins 1.502 on a SLES11
> Reporter: Tobias Kalmes
> Priority: Major
>
> Passwords are not masked in the log output on Linux machines. The masking
> works as intended on Windows machines. On linux machines tho the password is
> printed in clear text. This seems to be a problem due to the additional
> single quotes that are added around the parameters on linux machines.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)