使用Jenkins进行Clearcase UCM配置以获取最新的基准集成代码 [英] Clearcase UCM Configuration with Jenkins to get latest baseline Integration code

查看:234
本文介绍了使用Jenkins进行Clearcase UCM配置以获取最新的基准集成代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮我为什么会出现这个错误吗?

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

我正在从我的VDI机器之一运行Jenkins,并连接到Clearcase Windows服务器.我能够获得最新的基准,因此基本上它可以连接到Clearcase服务器,但是我不确定为什么在运行命令时它会更改流名称.

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.

控制台输出:

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)

推荐答案

由于您要根据给定的基准进行构建,因此我敢打赌,Jenkins UCM集成创建了构建流.这将是确保构建不受流更改影响的最正确方法. (在快照视图中不太可能,但这不重要.)

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.)

该错误消息可能是由于缺少存储位置"而引起的.您可以使用cleartool mkstgloc预先定义希望视图/VOB数据库驻留的位置,并使用cleartool lsstgloc.

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.

这篇关于使用Jenkins进行Clearcase UCM配置以获取最新的基准集成代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆