2014-11-13 141 views
0

我成立了一個詹金斯工作輪詢Perforce公司在庫的變化,每15分鐘,但我看到下面的錯誤在輪詢日誌:詹金斯Perforce的插件異常

Caught Exception communicating with perforce.P4 Where Parsing Error: //... and //some_depot/... filespecs are not allowed. 

FATAL: Unable to communicate with perforce. Check log file for: P4 Where Parsing Error: //... and //some_depot/... filespecs are not allowed. 

java.io.IOException: Unable to communicate with perforce. Check log file for: P4 Where Parsing Error: //... and //some_depot/... filespecs are not allowed. 

    at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1296) 
    at hudson.scm.SCM.poll(SCM.java:397) 
    at hudson.model.AbstractProject._poll(AbstractProject.java:1435) 
    at hudson.model.AbstractProject.poll(AbstractProject.java:1338) 
    at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119) 
    at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515) 
    at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544) 
    at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) 
    at java.util.concurrent.Executors$RunnableAdapter.call(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 5.4 sec 
No changes 

有沒有人見過這個?投票似乎在幾小時前完美運作,但現在每次投票都會出現這個錯誤。

回答

0

也許你的Perforce管理員只安裝了一個新的觸發,其中一個 生成錯誤消息

//... and //some_depot/... filespecs are not allowed. 

如果看到一個客戶工作區規範與不可接受的視圖地圖。

如果這確實是您的問題,那麼您必須爲您的Jenkins構建版本所使用的客戶端工作區指定更窄(更精確)的視圖,或讓管理員在觸發器中爲您提供例外。