Fix docker compose port conflict#1775
Conversation
The default jenkins agent port conflicts with the compose file which currently configures Jenkins with a JAVA_TOOL_OPTIONS setting that opens JDWP debugging on port 50000. This commit changes the JDWP debug port to 50001 to resolve the issues. Signed-off-by: dodo920306 <[email protected]>
|
Hi @dodo920306 are you sure your proposed suggestion would work? We would like to debug port |
Accoring to https://www.jenkins.io/doc/book/security/services/#tcp-agent-listener-port
, using port 50000 as the JDWP debug port will make the docker container fail to start because of port conflict. I use IntelliJ and it works pretty fine with the new port. |
It's unnecessary to map the agent port to the host for development. Signed-off-by: dodo920306 <[email protected]>
krisstern
left a comment
There was a problem hiding this comment.
LGTM
Thanks for the PR @dodo920306!
The default jenkins agent port conflicts with the compose file which currently configures Jenkins with a JAVA_TOOL_OPTIONS setting that opens JDWP debugging on port 50000.
This PR changes the JDWP debug port to 50001 to resolve the issues, and port 50000 still remains for agents.
Testing done
Submitter checklist