[JIRA] (JENKINS-12425) Windows service install fails with file in use

3 views
Skip to first unread message

marcin.cimaszewski@diasemi.com (JIRA)

unread,
Oct 31, 2019, 10:44:01 AM10/31/19
to jenkinsc...@googlegroups.com
Marcin Cimaszewski commented on Bug JENKINS-12425
 
Re: Windows service install fails with file in use

Just for future and not search after obvious things. I have reproduced that case.

Steps to reproduce:

  1. master1 UI > Manage Jenkins > Manage Nodes
  2. add new node
  3. connect your agent1 to master1 via jnlp
  4. install connection as a service
  5. master2 UI > Manage Jenkins > Manage Nodes
  6. add new node
  7. connect your agent1 to master2 via jnlp
  8. try to install connection as a service

Effect:
Popup with statement as in description:

java.io.FileNotFoundException: c:\JenkinsTest\jenkins-slave.exe (The process cannot access the file because it is being used by another process)

To cross check that service is running execute from cmd:

c:\JenkinsTest\jenkins-slave.exe status

Resolution:
Choose which master should utilize that agent and use another agent for another master

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages