首页 > 解决方案 > 在多分支管道上找不到“Jenkinsfile”

问题描述

我们在 SVN 中移动了一个存储库,在 Jenkins 配置中相应地调整了该路径后,它无法识别任何分支。

我检查了 Jenkinsfiles 确实存在,没有扩展名,也没有区分大小写的问题。我还尝试创建一个全新的配置,结果相同。

日志输出为:

[Mon Oct 21 17:17:00 CEST 2019] Starting branch indexing...
Opening conection to svn://vsvn/svn-root/BTR/Control/V2.2_Released/
Checking directory /svn-root/BTR/Control/V2.2_Released@HEAD
Checking directory /svn-root/BTR/Control/V2.2_Released/branches@8827
Checking candidate branch /svn-root/BTR/Control/V2.2_Released/branches/DotNetCoreMigrationPOC@8808
      ‘Jenkinsfile’ not found
Does not meet criteria
Checking candidate branch /svn-root/BTR/Control/V2.2_Released/branches/1.7_IONodeComponentRefactoring@7898
      ‘Jenkinsfile’ not found
Does not meet criteria
Checking candidate branch /svn-root/BTR/Control/V2.2_Released/branches/devcon@7860
      ‘Jenkinsfile’ not found
Does not meet criteria
Checking directory /svn-root/BTR/Control/V2.2_Released/tags@8810
Checking candidate branch /svn-root/BTR/Control/V2.2_Released/trunk@8779
      ‘Jenkinsfile’ not found
Does not meet criteria
[Mon Oct 21 17:17:00 CEST 2019] Finished branch indexing. Indexing took 0.15 sec
Finished: SUCCESS

标签: jenkinssvncontinuous-integration

解决方案


推荐阅读