CENOTS7 installation Gitlab and Jenkins Continuous integrated development environment

Source: Internet
Author: User

1, the first is the installation of Jenkins, very simple, download the RPM package from the official website, and then a key installation (need Java environment, remember the allocation of variables are good)

2, visit xxx.xxx.xxx.xxx:8080 Display Jenkins home page is successful.

3, install Gitlab, this thing used me for a long time. The first is the issue of the RPM package. See http://blog.csdn.net/u011350541/article/details/52998623 this Blog

4, after the installation of Gitlab, access to xxx.xxx.xxx.xxx display

502 Whoops, Gitlab is taking too more than time to respond

Using GITLAB-CLT tail to view logs it is known that the port is occupied and the Gitlab is 8080 ports.

5, then VI/ETC/GITLAB/GITLAB.RB

There are two places to configure the port.

One is External_url address and port number need to be configured here

One is unicorn[' Port '] here also needs to configure addresses and ports

At the same time the above two ports must not be the same, I have been matched to 11000,11001, solve the 502 problem.

Then Gitlab-ctl reconfigure Gitlab-ctl restart

It should be noted that the configuration files for all subsystems of the entire Gitlab can be configured in/ETC/GITLAB/GITLAB.RB. Of course, it can be set up in the corresponding module alone

Like/VAR/OPT/GITLAB/GITLAB-RAILS/ETC/UNICORN.RB.

Configure the port and address of the unicorn and then restart Gitlab on the line.

6, currently only two small software installed separately, not to the continuous integration of this step, the article will continue to update.

7, Jenkins Gitlab plug-in installation relies on more, I downloaded 11 plug-ins to complete the installation of Gitlab Plug-ins, offline installation methods can be referred to

http://blog.csdn.net/liyuming0000/article/details/46879583

8, Jenkins on the new project from Gitlab to get code, need to add public private key, public key to Gitlab, the private key to Jenkins new project. This Jenkins can get the latest code from Gitlab.




Download Address

http://updates.jenkins-ci.org/download/plugins/



Reference Links:

Jenkins Gitlab Continuous integrated packaging platform built http://blog.csdn.net/zgzhaobo/article/details/52002181



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.