Jenkins builds a method for remote Automation test execution

Source: Internet
Author: User

1, into the building of Jenkins, into the system management -"Management node -" New node


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


3, Enter the name in the label (need to build a plan after the label, so please be simple and clear), choose Usage, Start method (depending on your 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 their own creation of the machine, choose their own machine, appear slave words below the launch, click the Launch button, the middleware download it down.


5. Open the slave-agent.jnlp file. Before this, you must follow the JDK installation package in your computer. Because we are writing through the JAVA package. Select Accept agreement and click the Run button. A JDK run package appears with the connected typeface.


6, return to the page to see the automation machine has been connected successfully.

Build tasks:

1. Click the New button ,


2.Enter the item name and select "Build a free-style software project" and click the OK button.


3.Click Add Build step in Build, enter description, select Restrict where this project can be run, enter the name of the machine tag you just created. Select Execute Windows Batch command, enter the address of the run file in the input box:rubyc:\test.rb Click the Save button. If the link executes after and a is scheduled, you can select build in the build trigger after the other projects is built to enter a plan name for projects to watch.


4.Enter the plan you just created, and click Build Now, in the build history the Blue Flag executes successfully, and the red indicates that the execution failed.

Jenkins builds a method for remote Automation test execution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.