Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
i'm running jenkins using the jenkins/jenkins docker image with port 8080 and 50000 published. I have a jenkins slave running on a windows server and subversion server on another winows server(VisualSVN)
My master node settings is only set to run jobs when specified as I don't want jobs running on the master. When I attempt to do a svn checkout it seems the svn plugin attempts to call the jnlp4 slave on random ports(port keeps changing if you restart container). A few port numbers it's used are 49319,52121,49991 etc. I know this issue is specific to svn as i can checkout git repositories fine. The stack trace from the ocnsole output also says svn and scm checkout.
Just by the way, I know the master can communicate with the subversion repo fine because I'm using a jenkinsfile and the initial checkout works fine. jenkinsfile is pulled and it starts runnning the pipeline. It's when it attempts to run the job on the slave and tries to do the svn checkout for the slave that it blows up as the subversion plugin is attempting to contact slave on a random undocumented port.
Thanks in advance
Hi Ivan,
I checked the log for the slave which is located in the logs folder of the master node. No error message in here. Just the following lines
"
Inbound agent connected from 10.0.2.2/10.0.2.2
Remoting version: 3.33
This is a Windows agent
Agent successfully connected and online
"
Are there any other logs I should be checking?
I'm not sure I fully understand the statement "check the permission on the workdir of the user you use to connect the agent". Are you saying I should check the permission of the agent dir on the windows slave? Or the user which I'm using to run jenkins in the docker container(which is jenkins by default) should have access to the slave workdir i.e agent folder?
P.S: This works fine out of the box when using a git repository for the same slave. git checkout runs fine and job runs fine.