Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated value in DEFAULT_ENTRY_POINT_ARGUMENTS #1060

Open
Thitho007 opened this issue Mar 21, 2024 · 0 comments
Open

Deprecated value in DEFAULT_ENTRY_POINT_ARGUMENTS #1060

Thitho007 opened this issue Mar 21, 2024 · 0 comments
Labels
bug An issue reporting a bug or a PR fixing one.

Comments

@Thitho007
Copy link

Thitho007 commented Mar 21, 2024

Jenkins and plugins versions report

Environment

Since Remoting 3192.v713e3b_039fb_e, using positional arguments is deprecated. The documentation of inboud-agent indicate the new parameters here
Using latest Jenkins LTS (2.440.2) and latest Remoting, the agent log reports :

WARNING: Providing the secret and agent name as positional arguments is deprecated; use "-secret" and "-name" instead.

It seems that this is line to modify to fix the warning.

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

Remoting agent since 3192.v713e3b_039fb_e
Latest Jenkins LTS (2.440.2)
Latest Docker Plugin (1.6)

Reproduction steps

Use latest LTS Jenkins as controller
Use latest Remoting in docker agent
Review log of agent when is started

Expected Results

"Cmd": [
    "-url",
    "https://jenkins-srv.com/jenkins",
    "-secret",
    "2bef635d010fc86b695f2c25c6c133d026f651c0034b44f920c25e118716c2fc",
    "-name",
    "docker-0000pvexzrh7f"
],

Actual Results

"Cmd": [
    "-url",
    "https://jenkins-srv.com/jenkins",
    "2bef635d010fc86b695f2c25c6c133d026f651c0034b44f920c25e118716c2fc",
    "docker-0000pvexzrh7f"
],

Anything else?

No response

Are you interested in contributing a fix?

No response

@Thitho007 Thitho007 added the bug An issue reporting a bug or a PR fixing one. label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue reporting a bug or a PR fixing one.
Projects
None yet
Development

No branches or pull requests

1 participant