Skip to content

Fix deprecated positional inbound agent arguments - #1361

Open
poweichen00 wants to merge 1 commit into
jenkinsci:masterfrom
poweichen00:fix/issue-1060-named-inbound-args
Open

Fix deprecated positional inbound agent arguments#1361
poweichen00 wants to merge 1 commit into
jenkinsci:masterfrom
poweichen00:fix/issue-1060-named-inbound-args

Conversation

@poweichen00

@poweichen00 poweichen00 commented Aug 19, 2026

Copy link
Copy Markdown

Summary

Update the default JNLP connector arguments to use the named -secret and -name options supported by Jenkins Remoting.

This avoids the deprecation warning emitted when Docker-based inbound agents are started with positional secret and agent-name arguments.

Add a regression test that verifies the complete default argument list.

Fixes #1060

Testing

  • mvn -DskipTests spotless:check
  • mvn -Dtest=DockerComputerJNLPConnectorTest test

Signed-off-by: CHEN PO WEI <jerrychen99999@gmail.com>
@poweichen00
poweichen00 requested a review from a team as a code owner August 19, 2026 02:25
@MarkEWaite

Copy link
Copy Markdown
Contributor

I don't see a warning emitted when Docker-based inbound agents are started on my Jenkins controller using the Docker plugin. Please describe the configuration you are using that shows a warning when Docker-based inbound agents are started.

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.

Deprecated value in DEFAULT_ENTRY_POINT_ARGUMENTS

2 participants