jenkinsci / jenkinsci/hidden-parameter-plugin

"trim" option error

Open
#234 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11
Forks
22
Avg merge
4h 7m
Merged PRs (30d)
1

Description

### Jenkins and plugins versions report

Environment


```text
Paste the output here
```

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

string parameter may have "trim" option with boolean value, like:
string(name: "name", defaultValue: "def-value", trim: true)

when replacing string to "hidden" - it will raise an error:
WorkflowScript: 178: Invalid parameter "trim", did you mean "name"? @ line 178, column 164.

### Reproduction steps

N/A

### Expected Results

to support all string-parameter options, regardless their type;

### Actual Results

WorkflowScript: 178: Invalid parameter "trim", did you mean "name"? @ line 178, column 164.

### Anything else?

_No response_

### Are you interested in contributing a fix?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.