SCMLife.com

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 3927|回复: 1

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

[复制链接]
发表于 2015-11-5 09:58:51 | 显示全部楼层 |阅读模式
目的:clearcase中,在想要监控的路径下,如果用户checkin了某文件,触发build
3 `+ t: S  ^, X1 e5 |# K1 J5 G
# K7 S0 q7 _4 f在jenkins中,使用Simple Dynamic ClearCase插件7 k6 J" t0 ]9 C0 D* c* {# q
$ ^+ g3 P5 t* G/ _  s6 D  P
Load rules设置\VOB\work\CC
$ {, |: h; z8 {% l! M* B6 nviewname设置test_view8 D- w! @7 M' A$ t# @* P7 |% ^  f; D
Branch name to watch设置main
/ @# U1 q) G; O1 U7 q1 q1 v0 v$ H' s! N这三个参数都是按照帮助设置的,但是branch提示There isnt any branch on load rule:\VOB\work\CC5 U9 k/ h0 Q9 }8 v( ]
也勾选了Poll SCM
" I6 m+ u+ V# J: c$ T8 t1 f$ }, j2 v# J6 D+ m* L  [5 }
2 H7 _8 }% u1 {; C1 c) u+ Q
但是每次poll的log都说No change(已经手动checkout,checkin了文件夹以及下面的文件)
( B3 [8 ^: K% h. P4 v9 \  w所以一直没有触发build/ p  b: Q' U7 V# Y9 [
请大家帮忙,谢谢!& {' I6 M* V! p
polling log如下
' b( K4 _* T3 I6 B0 o8 \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
7 U. H, E6 u! f7 A
 楼主| 发表于 2015-11-16 14:28:32 | 显示全部楼层
这么多人看过了,没有哪位能给点意见么?4 H! y! p% s. L6 C. K; d
其中setview也不是windows下的clearcase命令,比较不懂为啥会调出来这个命令。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

SCMLife推荐上一条 /4 下一条

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

GMT+8, 2018-7-19 17:50 , Processed in 0.059122 second(s), 6 queries , Gzip On, MemCache On.

Powered by SCMLife X3.4 Licensed

© 2001-2017 JoyShare.

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