SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 4106|回复: 1

[求助] jenkins是否支持clearcase的checkin触发?

[复制链接]
发表于 2015-11-5 09:58:51 | 显示全部楼层 |阅读模式
目的:clearcase中,在想要监控的路径下,如果用户checkin了某文件,触发build: [5 K  X. i8 M
0 x2 v' s; f2 V. X( v
在jenkins中,使用Simple Dynamic ClearCase插件& i% v! M3 v7 m- l" m

! p3 H2 n' m% D- m* BLoad rules设置\VOB\work\CC
! H2 |# T- c( }4 W' Rviewname设置test_view
1 p4 v( M$ c9 O+ _5 s" QBranch name to watch设置main
8 ]& W; u- Q, K% J这三个参数都是按照帮助设置的,但是branch提示There isnt any branch on load rule:\VOB\work\CC) E5 Z$ Q$ L6 m. c3 R, O
也勾选了Poll SCM
( p6 |8 |$ |7 l* }5 J) d" |$ z6 ?- n& c' I. P; r; A6 G
! R- |" Y2 q" G9 f+ Z* R: B
但是每次poll的log都说No change(已经手动checkout,checkin了文件夹以及下面的文件)
) Q$ n" o) D4 g6 s* Q5 ?所以一直没有触发build
. M' x8 Y5 S+ ^+ O* }, V请大家帮忙,谢谢!
$ N& O2 Y# y( A% |% j7 T: Hpolling log如下3 Q" I- {5 p3 X* O1 J9 B" G
Simple Dynamic ClearCase Polling LogStarted on 2015-11-4 14:33:00Polling SCM changes on mastercompareRemoteRevisionWith: Last build: #7compareRemoteRevisionWith: Baseline LR-mapping from RevisionState is: LoadRuleDateMap is empty[Dynamic_view] $ cleartool setview -exec 'cleartool lshistory -last 10 -fmt "%Nd| |%u| |%En| |%Vn| |%e| |%o| |%Nc\n" -nco \VOB\work\CC' test_viewERROR: ClearTool: Exit code wasn't ok, code: 1. Tried to execute: cleartool setview -exec "cleartool lshistory -last 10 -fmt "%Nd| |%u| |%En| |%Vn| |%e| |%o| |%Nc\n" -nco \VOB\work\CC" test_viewFATAL: ClearTool: Exit code wasn't ok, code: 1. Tried to execute: cleartool setview -exec "cleartool lshistory -last 10 -fmt "%Nd| |%u| |%En| |%Vn| |%e| |%o| |%Nc\n" -nco \VOB\work\CC" test_viewjava.io.IOException: ClearTool: Exit code wasn't ok, code: 1. Tried to execute: cleartool setview -exec "cleartool lshistory -last 10 -fmt "%Nd| |%u| |%En| |%Vn| |%e| |%o| |%Nc\n" -nco \VOB\work\CC" test_view        at jenkins.plugins.simpleclearcase.ClearTool.execute(ClearTool.java:392)        at jenkins.plugins.simpleclearcase.ClearTool.executeWithView(ClearTool.java:351)        at jenkins.plugins.simpleclearcase.ClearTool.rawLshistory(ClearTool.java:294)        at jenkins.plugins.simpleclearcase.ClearTool.lshistory(ClearTool.java:204)        at jenkins.plugins.simpleclearcase.ClearTool.getLatestCommitDates(ClearTool.java:155)        at jenkins.plugins.simpleclearcase.SimpleClearCaseSCM.compareRemoteRevisionWith(SimpleClearCaseSCM.java:114)        at hudson.scm.SCM.poll(SCM.java:398)        at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1474)        at hudson.model.AbstractProject._poll(AbstractProject.java:1445)        at hudson.model.AbstractProject.poll(AbstractProject.java:1356)        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:510)        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:539)        at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)        at java.util.concurrent.FutureTask.run(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source)Done. Took 87 msNo changes
0 X4 G8 V" w. f# c! C8 t+ ?
 楼主| 发表于 2015-11-16 14:28:32 | 显示全部楼层
这么多人看过了,没有哪位能给点意见么?6 D$ D+ d3 }3 J) V( z
其中setview也不是windows下的clearcase命令,比较不懂为啥会调出来这个命令。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

SCMLife推荐上一条 /4 下一条

QQ|小黑屋|手机版|无图版|SCMLife.com ( 京ICP备06056490号-1 )

GMT+8, 2018-9-22 23:45 , Processed in 0.059216 second(s), 7 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

快速回复 返回顶部 返回列表