ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码
当前位置:首页 >> 软件工程 >> gitlab+gerrit+jenkins持续集成框架

gitlab+gerrit+jenkins持续集成框架(1/14)

来源:网络整理     时间:2015-12-17     关键词:crontab,Git,发送邮件

本篇文章主要介绍了"gitlab+gerrit+jenkins持续集成框架",主要涉及到crontab,Git,发送邮件方面的内容,对于软件工程感兴趣的同学可以参考一下: 1.持续集成之Gitlab+gerrit+jenkins1.1. GitLab1.1.1. 简介  GitLab 是一个使用使用Ruby on Rails搭建的...

1.持续集成之Gitlab+gerrit+jenkins

1.1. GitLab

1.1.1. 简介

  GitLab 是一个使用使用Ruby on Rails搭建的,用于仓库管理系统的开源项目。使用Git作为代码管理工具,并在此基础上搭建起来的web服务

1.1.2. 环境搭建

  a) Install and configure the necessary dependencies

    If you install Postfix to send email please select 'Internet Site' during setup. Instead of using Postfix you can also use Sendmail or configure a custom SMTP server. If you wish to use Exim, please configure it as an SMTP server.

    On Centos 6 and 7, the commands below will also open HTTP and SSH access in the system firewall.

    sudo apt-get install curl openssh-server ca-certificates postfix

  b) Add the GitLab package server and install the package.

    • Apt-get安装

      Curl https://packages.Gitlab.com/install/repositories/Gitlab/Gitlab-ee/script.deb.sh|sudo bash

      sudo apt-get install Gitlab-ee

      If you are not comfortable installing the repository through a piped script, you can find the entire script here.

      Alternatively you can select and download the package manually and install using

    • deb包安装

      下载deb包

      https://packages.Gitlab.com/Gitlab/Gitlab-ee

      安装deb包

      sudo dpkg -i Gitlab-ee_8.1.2-ee.0_amd64.deb

  c) 1.1.2.3. Configure and start GitLab

    sudo Gitlab-ctl reconfigure

  d) 1.1.2.4. Browse to the hostname and login

    http://10.24.6.8:80

    Username: root 
    Password: 5iveL!fe

  e)  2.1.6. Upload your license(EE版本需要认证)

    Go to Admin > License and upload your .Gitlab-license file. 
    Don't have a license yet? Get a subscription.

1.1.3. 创建TEST项目

  创建test 项目

相关图片

相关文章