The steps to integrate with Gerrit with eclipse
来源:互联网 发布:wifi有网络看不了视频 编辑:程序博客网 时间:2024/06/05 19:45
Hereis the steps to integrate with Gerrit in our workflow(with Eclipse, orion isstill under working):
Step 1: Import project asan existing project.
Openeclipse, Import -> Git -> Projects from Git -> Clone URL, input
URI:"http://9.123.149.131:9090/MyWebAppTonyL"
username: admin
password: VFkNtA9Awrc6pxcosjX/iun3SXvAiCDin+dLao9SOA
Step 2: Config git plugin.
In eclipse, open "Git" prespective, in "Git Repositories" view,right click on "origin" and select "GerritConfiguration..."
Inthe popup dialog, fill the "Destination branch" as"master", and click "Finish".
Step 3: Make some changes,commit and push.
Makesure, the commit message contains "Change-Id". For the first time, itrequires username/password
username: admin
password: VFkNtA9Awrc6pxcosjX/iun3SXvAiCDin+dLao9SOA
Oncepushed to gerrit, it will automaticlly trigger a UT in jenkins, you can see thestatus of the UT, if it failed, you can see it in log.
http://9.123.149.131:8080/job/GerritProject/
If it pass the UT, in Gerrit, it willadd a green right in the "V" column, otherwise, it will show a redcross.
Step 4: Review codechanges.
Visitwebsite: http://9.123.149.131:9090/
Firsttime, you need to login, click "Become" on the upper right to login.
Input"admin" as username, and click "Become Account". Leaveother information(such as email, account id...) as blank.
Afterthat, in My -> Changes, you could see the changes you just pushed. Click theitem to open the reivew UI.
Inthe review UI, click "Reply..."
Inputsome comments and click the radio button "Code-Review" +2 and"Verified" +1(Actually, if it passed the UT from Jenkins, the"Verified" would become "+1" automatically).
Click"Submit"
Thestatus becomes "Merged", it means successfully!
Step 5: Verfiy
Visityour jazzhub: https://hub.jazz.net/project/leungtk/MyWebAppTonyL/overview
youcould see the changes has been replicate from Gerrit to JazzHub.
- The steps to integrate with Gerrit with eclipse
- Steps to Integrate Push Notification with Unity3d on iOS
- Eclipse Integrate with Python
- Integrate eclipse with python
- GitHub integrate with Eclipse
- How to integrate the latest lispbox with clisp.
- integrate android standalone with eclipse
- integrate android standalone with eclipse
- How to integrate Asymptote with Beamer
- Different Ways to Integrate with PeopleSoft
- The Way BIRT Integrate with Web
- AngularJs integrate with Yii
- How would you like to integrate with PayPal?
- How to Integrate angular 2 with php and mysql db
- The Steps of Machine Learning with Python
- Concise steps to Building and Installing the FIPS Object Module with OpenSSL (Unix/Linux)
- USING GERRIT WITH GITHUB
- Using Gerrit with GitHub
- Android UI详解之View绘制原理
- 【ms-dos】 常用命令(记录)
- linux 3.5 lookup_processor_type函数
- 安卓给按钮添加监听事件的四种方法2.
- 网易游戏面试面经搜集
- The steps to integrate with Gerrit with eclipse
- iOS APP 审核拒绝理由
- golang中io包用法(二)
- android 之 Hnadler 、Message 、Looper
- hello linux
- Android中的meminfo
- Slab 算法
- 在 Azure 虚机上配置 SSTP VPN
- perl学习笔记(三)——语法