Installing Jenkins Slave as Service on win8.1 and win10

后端 未结 4 1203
感情败类
感情败类 2021-02-01 18:08

I am trying to install Jenkins slave service after starting the slave via web start. I get the following error when it tries to install on windows 10 and windows 8.1.

相关标签:
4条回答
  • 2021-02-01 18:16

    goto your downloaded jenkins-slave.exe Application file.

    goto properties -> compatibility -.> check run as administrator.

    Now try installing it as service again. It will work.

    0 讨论(0)
  • 2021-02-01 18:23

    "C:\Program Files (x86)\Java\jre1.8.0_161\bin\javaws.exe" slave-agent.jnlp just run this from command prompt my issue got resolved from this as an administrator

    0 讨论(0)
  • 2021-02-01 18:33

    I found another way to get the slave to install.

    1. Open a command window with "Run as Administrator".
    2. Change directory to the place where you saved the slave-agent.jnlp file.
    3. at the prompt run "slave-agent.jnlp"
    4. Now with the running slave click the menu item to "Install as Service".

    The trick is to do it while running as an administrator. This installs the service running under localsystem.

    Additionally, if you're like me and you need your jenkins routines to hit another machine, you'll need to change the service to run as a user with permission (network or otherwise) to do the task you want done.

    0 讨论(0)
  • 2021-02-01 18:41
    1. Open a command window with "Run as Administrator".
    2. Just in case, You may have trouble with the .jnlp in "Steve Brownell" instructions, then, run the first line of your error message, shown below. c:\JenkinsWorkDirectory\jenkins-slave.exe install
    0 讨论(0)
提交回复
热议问题