Jenkins node settings

Source: Internet
Author: User

Why to set the Jenkins node

When Jenkins is mobilizing the construction process, the machine hardware resource consumption is larger, and the workspace will increase, easy to cause the machine disk, memory is not enough, and so on, set the Jenkins node, that is, on multiple machines, while using Jenkins to work, The project can be assigned to different nodes to shunt, improve efficiency, increase the fault tolerance due to hardware problems, reduce the potential risk.

650) this.width=650; "class=" Confluence-embedded-image confluence-external-resource "src="/HTTP/ Wiki.deppon.com/download/attachments/852346/3_06.gif?version=1&modificationdate=1404179722000&api=v2 " alt= "3_06.gif?version=1&modificationdate=1404"/> Jenkins node configuration steps

Take the 192.168.67.18 machine as an example:

1, enter the server, here is 192.168.67.18, with the root user to create Jenkins users, such as:

The command is: Sudo/usr/sbin/useradd–m Jenkins–d/home/jenkins, since I have already created the completion, so here the hint already exists. Where/usr/sbin/useradd adds a directory for user information,-m–d is the new user parameter.

650) this.width=650; "class=" Confluence-embedded-image "src=" http://wiki.deppon.com/download/attachments/3342435/ Jira2.jpg?version=1&modificationdate=1410420058000&api=v2&effects=drop-shadow "alt=" JIRA2.jpg? version=1&modificationdate=141 "Width="/>

2, set the Jenkins user password,

650) this.width=650; "class=" Confluence-embedded-image "src=" http://wiki.deppon.com/download/attachments/3342435/ Jira3.jpg?version=1&modificationdate=1410420058000&api=v2&effects=drop-shadow "alt=" JIRA3.jpg? version=1&modificationdate=141 "Width="/>

The Jenkins user password is set to 0 here.

3, install the JDK, the specific reference "Linux installation JDK", after successful installation as shown:

650) this.width=650; "class=" Confluence-embedded-image "src=" http://wiki.deppon.com/download/attachments/3342435/ Jira4.jpg?version=1&modificationdate=1410420058000&api=v2&effects=drop-shadow "alt=" JIRA4.jpg? version=1&modificationdate=141 "Width="/>

4, install MAVEN, specific reference "Linux under Maven Installation", after successful installation run Mvn-version, will prompt Maven version number and other information.

5, into the existing Jenkins Interface configuration node, System Management-node management-new node,

650) this.width=650; "class=" Confluence-embedded-image "src=" http://wiki.deppon.com/download/attachments/3342435/ Jira6.jpg?version=1&modificationdate=1410420058000&api=v2&effects=drop-shadow "alt=" JIRA6.jpg? version=1&modificationdate=141 "Width="/>

6, the configuration details are as follows:
650) this.width=650; "class=" Confluence-embedded-image "src=" http://wiki.deppon.com/download/attachments/3342435/ Jira7.jpg?version=1&modificationdate=1410420058000&api=v2&effects=drop-shadow "alt=" JIRA7.jpg? version=1&modificationdate=141 "Width="/>

Where credentials needs to be added by itself, and the remote working directory is set to/opt/jenkins as Workspace,save after the setup is complete.


Jenkins node settings

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.