Skip to content

Enforce --nointeraction and --raw flags globally for Bitwarden CLI commands #23

@mwdle

Description

@mwdle

Jenkins and plugins versions report

N/A

What Operating System are you using (both controller, and any agents involved in the problem)?

N/A - Affects all platforms

Reproduction steps

  1. The plugin executes a Bitwarden CLI command
    1. If the CLI encounters an unexpected edge case that prompts for user input, it hangs indefinitely
    2. If the plugin encounters descriptive text intended for human consumption, it fails

Expected Results

1.The CLI command should not encounter interactive prompts.
2. The plugin should not encounter descriptive text intended for human consumption.

Actual Results

The CLI can hang waiting for input, potentially stalling Jenkins threads, or the pllugin can fail due to unexpected output.

Anything else?

Discovered while debugging #21. The fix is to inject --nointeraction and --raw flags directly in the base ProcessBuilder so it applies to every Bitwarden CLI command automatically.

More information about these flags can be found in the official Password Manager CLI Documentation

Are you interested in contributing a fix?

A fix is in the works

Metadata

Metadata

Assignees

Labels

bugFor changelog: Minor bug. Will be listed after features

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions