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

cli.py is printing password in case of system exit 1 #102

Open
yangyangto opened this issue Oct 28, 2019 · 0 comments
Open

cli.py is printing password in case of system exit 1 #102

yangyangto opened this issue Oct 28, 2019 · 0 comments

Comments

@yangyangto
Copy link

Hi,

When the system exit code is 1, the err is being printed out. This also prints the password. See https://github.com/xebialabs-community/xlr-xldeploy-plugin/blob/master/src/main/resources/xlr_xldeploy/cli.py#L30

In my example, the username is tutti and the password is frutti. See below for an example output:

[com.xebialabs.overthere.RuntimeIOException: Cannot start command [/tmp/bin/cli.sh -quiet -username admin -password **** -source /appl/xlrelease/scripts/add_application.py -- "" /appl/xlrelease/scripts/xldeploy_config_passwords.json tutti frutti] on [local:] at com.xebialabs.overthere.local.LocalConnection.startProcess(LocalConnection.java:144) at

How we can suppress the password in the output?

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

No branches or pull requests

1 participant