launcher.launch().cmds(argBuildr)
.masks(masks)
.envs(build.getEnvironment(TaskListener.NULL)).stdout(listener.getLogger()).pwd(workspace).
join();
Just need a boolean array of sufficient length with the appropriate true
values
On Wednesday, 12 September 2012, Stuart Whelan wrote:
> My SCM plugin needs to call a command line client..
>
> How can I stop the password being passed to the command line client from
> appearing in the log?
>
> I can see two directions to try, but I have not managed to find out to do
> either:
>
> 1) Mask the password from the log..
>
> 2) Stop the launcher from outputing the command to the log... When I call
> the launcher I use:
>
> launcher.launch().cmds(argBuildr).envs(build.getEnvironment(TaskListener.NULL)).stdout(listener.getLogger()).pwd(workspace).join();
>
>
> Any suggestions please?
>
> Thanks!
> Stuart.
>