日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

Hudson-ci/Installing Hudson Windows Service---官方文档

發布時間:2025/4/5 windows 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Hudson-ci/Installing Hudson Windows Service---官方文档 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

<?Hudson-ci

Hudson Continuous Integration Server
Website
Download
Community
Mailing List???Forums???IRC
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse Source
Installing Hudson as a Windows Service










?

Contents

?[hide]?
  • 1?Install Hudson as a Windows service
  • 2?Install Slave as a Windows service (requires .Net 2 framework)
  • 3?Changing the configuration of services
  • 4?Uninstallation

Install Hudson as a Windows service

First, you need to start Hudson before installing it. This can be done by running?java -jar hudson.war. Now connect to hudson by going to the following URL http://locahost:8080/

Once Hudson is started, click the manage Hudson link and look for the "Install as Windows Service" link on the management page.

Clicking this link shows you the installation screen:

Choose the directory where Hudson shall be installed (the directory must already exist). This will become?HUDSON_HOME?and will be used to store data files and programs.

Upon successful completion of the installation, you should see a page asking you to restart Hudson. Note that you will need administrator privileges to complete this operation.


Hudson will then be relaunched as a Windows service.

If a restart fails for some reason, check the output from Hudson, which is stored in the installation directory that you specified.


At this point you can use the service manager to confirm that Hudson is running as a service.

Install Slave as a Windows service (requires .Net 2 framework)

Hudson also allows you to install a slave agent as a Windows service. (See?Distributed Builds?for more about how to do distributed builds in general.)

First, you configure your slave to run as a JNLP slave agent. This should create a JNLP launch icon in the corresponding page, as shown below:??

From the slave machine, launch a slave agent. You should see a window like this:

Choose "File" > "Install as Windows Service" from the menu:

Confirm your intention to install as a service. The installation will place the program files to the directory designated as the slave root directory (from the "configure executors" screen.)?

Once the installation succeeds, you'll be asked if you'd like to stop the current slave agent and immediately start a slave agent.?When you click "OK", the slave agent window will terminate. The new slave agent runs as a service without showing a window, so head over to the service manager from the control panel and confirm that the slave agent is indeed running as a service.

Changing the configuration of services

The JVM launch parameters of these Windows services are controlled by an XML file?hudson.xml?and?hudson-slave.xml?respectively. These files can be found in$HUDSON_HOME?and in the slave root directory respectively, after you've install them as Windows services.

The file format should be self-explanatory. Tweak the arguments for example to give JVM a bigger memory.

Stdout and stderr from the service processes go to log files in the same directory.

Uninstallation

To uninstall the service, run?hudson-slave.exe uninstall?from the command line. The Hudson-slave executable can be found in the slave root directory. Note that you should run the uninstall from a admin command prompt on Windows 7 and the service will not be removed until the service is manually stopped or the Windows machine is re-booted. you can also manually uninstall the service using the command:?sc delete Hudson Slave, again issue this from an admin console.

轉載于:https://www.cnblogs.com/davidwang456/p/3479168.html

總結

以上是生活随笔為你收集整理的Hudson-ci/Installing Hudson Windows Service---官方文档的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。