Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of remote Automation Test execution built by jenkins

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

1. Enter the built jenkins and go to system Management-"manage Node -" create a new node

2. Enter the node name in the new node, select dumbslave, and click the OK button.

3, enter the name in the tag (you need to build the plan after the tag, so please be simple and clear), select the usage, startup method (according to your own machine, choose different information, we are now in the WINDOWS environment, so choose launch slave agents via java web start), click the Save button.

4. Click on the machine you created, select your own machine, appear the Launch under the word slave, and click the Launch button to download the middleware.

5. Open slave-agent.jnlp file. Before that, the package must be installed according to JDK on the computer. Because we are writing through the JAVA package. Select accept the agreement and click the run button. A JDK runtime package appears with the words Connected.

6. Return to the page to check that the automatic machine has been connected successfully.

Build tasks:

1. Click the New button

2. Enter the Item name, select "build a free-style software project", and click the OK button.

3. Click add build steps in the build, enter a description, select Restrict where this project can be run, and enter the name of the machine tag you just created. Select Execute Windows batch command and enter the address of the running file in the input box: rubyC:\ test.rb and click the Save button. If you link to Plan An after execution, you can select the projects to watch of Build after other projects are built in the build trigger and enter the name of Plan A.

4. Enter the plan you just created, and click build now. In build history, the blue flag indicates successful execution, and the red flag indicates failure.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report