安装依赖yum -y install policycoreutils openssh-server openssh-clients postfix设置postfix开机启动并启动systemctl enable postfix && systemctl start postfix
强制Review :在 Gitlab 上创建的项目,指定相关用户只有Reporter权限,这样用户没有权限使用git push功能,只能git review到Gerrit 系统上,Jenkins在监听Gerrit上的项目事件会触发构建任务来测试代码, Jenkins 把测试结果通过 ssh gerrit 给这个项目打上 Verified 成功或失败标记,成功通知其它人员 Review 。