Clearcase UCM Configuration with Jenkins to get latest baseline Integration code

非 Y 不嫁゛ 提交于 2019-12-08 07:52:44

问题


Can someone please help me why am I getting this error?

I am running Jenkins from one of my VDI machine and connected to Clearcase windows server. I am able to get the latest baselines so basically it is getting connected to clearcase server but I am not sure why it is changing the stream name while running the command.

Console Output:

Building in workspace C:\Jenkins\workspace\Test Forms
[CCUCM] ClearCase UCM Plugin version 1.7.0
[CCUCM] Allow for slave polling: false
[CCUCM] Poll for posted deliveries: false
[CCUCM] Trim changeset: false
[CCUCM] Polling streams: self
[CCUCM] Getting baselines for :
[CCUCM] * Stream: XXXXX_XXX_POC_Int@\pvob
[CCUCM] * Component: XXXX@\pvob
[CCUCM] * Promotion level: ANY

[CCUCM] Retrieved 4 baselines:
[CCUCM] + XXXXX_v2014.12.011(Tue Jul 18 11:45:32 PDT 2017)
[CCUCM] + XXXXX_v2014.12.012(Thu Jul 20 09:56:15 PDT 2017)
[CCUCM] + XXXXX_v2014.12.013(Thu Jul 20 10:39:13 PDT 2017)
[CCUCM] + XXXXX_v2014.12.014(Thu Jul 20 14:23:05 PDT 2017)

[CCUCM] Using XXXXX_v2014.12.014@\XXXXXX
[CCUCM] View root: C:\Jenkins\workspace\Test Forms\view
[CCUCM] View tag : CCUCM_Test_Forms_XXXX27005736
[CCUCM] Determine if view tag exists
[CCUCM] Creating new view
Unable to create view CCUCM_Test_Forms_XXXX27005736 at C:\Jenkins\workspace\Test Forms\view
Command was: cleartool mkview -snapshot -stgloc -auto -tag CCUCM_Test_Forms_XXXX27005736 -stream stream:CCUCM_Test_Forms_XXXX27005736@\pvob "C:\Jenkins\workspace\Test Forms\view"
cleartool: Error: No available Server Storage Location entries.
Command: cleartool mkview -snapshot -stgloc -auto -tag CCUCM_Test_Forms_XXXX27005736 -stream stream:CCUCM_Test_Forms_XXXX27005736@\pvob "C:\Jenkins\workspace\Test Forms\view"
Path: null
java.io.IOException: 
at net.praqma.hudson.remoting.CheckoutTask.invoke(CheckoutTask.java:125)

回答1:


Since you want to build from a given baseline, my bet is that the Jenkins UCM integration created a build stream. This would be the most correct way to ensure that the build is not impacted by stream changes. (Not very likely in a snapshot view, but that's beside the point.)

The error message is likely because of missing "storage locations" You can predefine there you want the view/VOB databases to reside using cleartool mkstgloc and list them with cleartool lsstgloc.



来源:https://stackoverflow.com/questions/45338034/clearcase-ucm-configuration-with-jenkins-to-get-latest-baseline-integration-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!