1
我有一個perl腳本來將建議的基線重定義爲Dev視圖(Dev視圖位於M:驅動器中)。當我從命令提示符運行腳本時,它正在工作,但是當我從詹金斯打電話時,同樣的腳本失敗。 (我在Jenkins中使用與我的登錄ID相同的用戶名。)如果我缺少任何配置,請告訴我。Jenkins的Clearcase rebase問題
**Command which i used :**
cleartool rebase -complete -view <DEV_VIEW_TAG> -force -recommended -abort
****Jenkins Console Output:****
Advancing to baseline "<Recommended Baseline>" of component "<Component Name>"
Updating rebase view's config spec...
cleartool: Warning: Config spec OK, but unable to tell view server to load.
cleartool: Warning: View server should be restarted.
cleartool: Error: Unexpected error in rebase.
cleartool: Error: Unable to update configuration specification.
cleartool: Error: Unable to perform integration.
cleartool: Error: Unable to rebase stream "<DEV_STREAM>".
**Through Command Prompt - output:**
M:\>cleartool rebase -complete -view <DEV_VIEW_TAG> -force -recommended -abort
Advancing to baseline "<Recommended Baseline>" of component "<Component Name>"
Updating rebase view's config spec...
Creating integration activity...
Setting integration activity...
Merging files...
No versions require merging in stream "<DEV_STREAM>".
Checking in files...
Clearing integration activity...
Updating stream's configuration...
Cleaning up...
Rebase completed.
我相信沒有rebase正在進行,但我仍然得到同樣的問題。可能是我需要交叉驗證上面提到的其他環境變量。 –
我看到環境變量有一些不匹配,如USERPROFILE = C:\ Windows \ System32 \ config \ systemprofile,TEMP但我的用戶環境變量像C:\ User \ XXXX。有什麼辦法可以覆蓋系統屬性文件。 –
@Java_Sol我已經編輯了我的anszwer。 – VonC