I am looking at Bamboo(Atlassian Bamboo version 6.0.1 build 60002 - 22 May 17) build logs and I can see that many variables and values are being masked but not the passwords. What setting causing the masking with *******?
What is probably happening, is that one of your password variables has a trivial value. (I'm guessing: '1') Whenever bamboo finds it is assumes it needs to be masked, because it's a password. Remove it and things should be back to normal.
Value of -Dsonar.password is not masked because it's not defined as a Bamboo variable. Rather than typing it directly into a command line you should define a plan variable and then use it like this: