使用Jenkins进行Clearcase UCM配置以获取最新的基线集成代码

时间:2017-07-26 21:49:58

标签: jenkins configuration clearcase clearcase-ucm

有人可以帮助我,为什么我会收到此错误?

我从我的一台VDI机器运行Jenkins并连接到Clearcase Windows服务器。我能够获得最新的基线,所以基本上它连接到clearcase服务器,但我不确定它为什么在运行命令时更改流名称。

控制台输出:

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 个答案:

答案 0 :(得分:0)

由于你想从给定的基线构建,我的赌注是Jenkins UCM集成创建了一个构建流。这将是确保构建不受流更改影响的最正确方法。 (不太可能在快照视图中,但这不是重点。)

错误消息可能是因为缺少“存储位置”您可以在那里预定义您希望视图/ VOB数据库使用cleartool mkstgloc驻留并将其列为cleartool lsstgloc.