jenkins - 在多分支管道上找不到“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
解决方案
推荐阅读
- javascript - 如果数组包含来自另一个数组的项目,则 Firestore 集合
- python - 如何将文件夹中的所有 csv 文件合并到列上的单个 csv?
- android - 带有外部 USB 摄像头的 Camera2 API
- makefile - GNU make 中的全局先决条件 - 是否可能
- r - 当我使用管道时,如何让平均函数工作?
- jenkins - 通过 API 进行阶段审批
- ios - 如何在一个地方拦截应用程序中的所有视图控制器 viewDidAppear 事件?
- interface - 与 ImageJ/斐济接口
- c# - 使用内存和依赖注入对 EF Core 进行单元测试?
- javascript - 通过 http 向客户端发送文件时在 http 标头中指定文件名