安装依赖yum -y install policycoreutils openssh-server openssh-clients postfix设置postfix开机启动并启动systemctl enable postfix && systemctl start postfix
点击 右侧个人头像,下拉中点击 Setting,并在 设置界面 中点击 私人令牌。在 Build Steps 中 增加 Execute SonarQube Scanner 构建步骤,输入 sonar分析属性 信息。
Linux installation is quicker to install, easier to upgrade and contains features to enhance reliability not found in other methods. Install via a single package that bundles all the different services and tools required to run GitLab. At least 4 GB of RAM is recommended.
强制Review :在 Gitlab 上创建的项目,指定相关用户只有Reporter权限,这样用户没有权限使用git push功能,只能git review到Gerrit 系统上,Jenkins在监听Gerrit上的项目事件会触发构建任务来测试代码, Jenkins 把测试结果通过 ssh gerrit 给这个项目打上 Verified 成功或失败标记,成功通知其它人员 Review 。