我有一臺安裝有JBoss,UCM ClearCase和ant的Linux構建機器。我想了解如何使用Hudson和Hudson clearcase插件配置持續集成。我可以使用已經創建的現有動態視圖嗎?請給我一些基本步驟。先謝謝你。Hudson與UCM ClearCase集成
回答
是的,您可以使用現有的動態視圖。
其原理是:
- 您哈德森(主)服務器
- 表明您要使用現有的動態視圖哈德森作業配置創建動態視圖(你將不得不把它的根路徑:
/view/yourView
) - 讓哈德森監控上次運行以來已演變的文件(它會做的是通過查詢文件的歷史記錄在動態視圖)
當然,您需要先安裝ClearCase plugin。
這裏是什麼這樣的作業的結構看起來像的圖示(完成與mandatory Freehand Circles):
alt text http://img405.imageshack.us/img405/3261/jobhudsoncc2.png
(注:M:\ MyView的而不是/視圖/ MyView的:即因爲我在做我的Windows7的筆記本電腦這個例子)
「使用現有的動態視圖」的文檔中提到:
If set, Hudson will use an existing dynamic view instead of creating a snapshot view. Hudson will behave differently when working with a dynamic view. It will not create or remove the view so the "Use update" configuration is ignored if this option is enabled. The plugin will update the config spec of the view when needed.
To use this option, the dynamic view has to be created outside Hudson using the common ClearCase tools. A check out will fail if the dynamic view does not exist. The tag of the view should be the same as specified in the "View name" field.
我建議檢查選項不要重置配置規範以保留您的視圖的現有配置規範。
workspace] $ cleartool setcs -tag vijaym_SNDBX_INT_View -stream
cleartool: Error: Unable to change configuration specification: Permission denied.
FATAL: UCM ClearCase failed. exit code=1
這意味着這一觀點的保護在某種程度上假:
-
:
你能去在服務器上
/view/vijaym_SNDBX_INT_View
等類型
cleartool lsview -l -full -pro -cview?
錯誤的可能原因
umask != 2
(輸入'umask
'檢查v ALUE,如果不同於2,類型「umask 2
‘)id -a
」解決方案:重新設置該視圖的保護(確保我們的路徑引用/usr/atria/etc/utils
,其中fix_prot
是)
cd/# leave the view
cleartool endview -server vijaym_SNDBX_INT_View # stop completely the view
cleartool umount -all # make sure all vobs are unmounted
# reset protections
fix_prot -force -rec -chown vijaym -chgrp aCorrectGroup -chmod 775 /path/to/vijaym_SNDBX_INT_View.vws
fix_prot -force -root -chown vijaym -chgrp aCorrectGroup /path/to/vijaym_SNDBX_INT_View.vws
#restart the view and mount the vobs
cleartool startview vijaym_SNDBX_INT_View
cleartool mount -all
# check if the protections are ok
cd /view/vijaym_SNDBX_INT_View
cleartool lsview -l -full -pro -cview
我有同樣的問題。 但在我的情況下,指向服務器的視圖實際上並不存在。 在你的情況下,似乎哈德森用戶沒有unix框的權限。 嘗試使用適用於clearcase服務器的憑據運行jboss和hudson用戶。
- 1. Hudson和UCM ClearCase
- 2. 在Windows機器上集成Hudson與UCM Clearcase
- 3. Maven和Clearcase集成
- 4. ClearCase UCM層次
- 5. UCM搜索 - 與.net集成
- 6. 存檔UCM Clearcase VOBS
- 7. 如何創建UCM的ClearCase在Hudson中工作
- 8. maven clearcase集成分析
- 9. 與詹金斯的Clearcase UCM配置獲取最新的基線集成代碼
- 10. Clearcase集成與哈德森持續集成
- 11. ClearCase中的集成流與集成視圖
- 12. 如何配置Hudson與Sventon集成?
- 13. Gallio與Nant和Hudson的集成
- 14. 從Clearcase LT(UCM)遷移到Subversion
- 15. Clearcase UCM正試圖合併pdf文件
- 16. ClearCase UCM:更改項目類型?
- 17. ClearCase的UCM - 無法讀取活動
- 18. Clearcase:鞏固UCM Vobs和組件
- 19. Visual Studio 2017的ClearCase集成
- 20. Clearcase UCM - 交叉交付與向上交付?
- 21. Hudson-JIRA-Perforce集成問題
- 22. Hudson持續集成配置
- 23. 標籤來自Hudson的Clearcase視圖
- 24. Clearcase and hudson - Unix master and windows slave
- 25. Visual Studio 2008 - Clearcase集成簽出問題
- 26. 如何查找未送達的變更集(Clearcase UCM)中的文件列表?
- 27. ClearCase:在快照視圖中創建基線使用ClearCase UCM創建基線
- 28. 除了與Clearcase的集成比較失敗
- 29. 與ClearCase的持續集成和更新快照視圖
- 30. 將Hudson插件集成到Redmine中
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14416711&tstart=0#14416711:我想這是同一個問題;) – VonC 2009-12-14 14:09:08
剛剛添加了一個答案給你的「無法更改配置specification'message – VonC 2009-12-15 11:33:57