Skip to content

Expose usernameVariable and timeoutMinutes in the step UI - #293

Merged
ogulcanaydogan merged 1 commit into
jenkinsci:masterfrom
ogulcanaydogan:feature/step-config-ui
Jul 29, 2026
Merged

Expose usernameVariable and timeoutMinutes in the step UI#293
ogulcanaydogan merged 1 commit into
jenkinsci:masterfrom
ogulcanaydogan:feature/step-config-ui

Conversation

@ogulcanaydogan

Copy link
Copy Markdown
Contributor

The usernameVariable and timeoutMinutes step parameters were only settable from pipeline script. This exposes them in the Snippet Generator form under an Advanced section, with help text, so they can be configured through the UI as well.

Testing

Adds SSHAgentStepConfigRoundTripTest, which sets the options and verifies they survive a StepConfigTester config round-trip. mvn test -Dtest=SSHAgentStepConfigRoundTripTest passes.

These optional step parameters were only settable from pipeline script.
Add them to the Snippet Generator form under Advanced, with help text,
so they can also be configured through the UI. Includes a config
round-trip test.

Signed-off-by: Ogulcan Aydogan <[email protected]>
@ogulcanaydogan
ogulcanaydogan requested a review from a team as a code owner July 29, 2026 10:31
@ogulcanaydogan
ogulcanaydogan merged commit ae1412b into jenkinsci:master Jul 29, 2026
18 checks passed
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

Successfully merging this pull request may close these issues.

1 participant