我在我的github存储库中使用了多分支管道,该管道轮询github存储库中的更改,但无法识别分支。我也尝试过手动扫描存储库(使用立即扫描存储库)。当我检查存储库扫描日志时,发现它正在跳过分支而没有任何原因/错误。
存储库扫描日志:请参阅分支-PH055018
Started by user unknown or anonymous
[Tue Sep 18 01:48:11 CDT 2018] Starting branch indexing...
01:48:12 Connecting to https://github.***.com/api/v3 using admin/****** (GitHub Enterprise)
01:48:12 Connecting to https://github.***.com/api/v3 using admin/****** (GitHub Enterprise)
Examining Org/Branch1
Checking branches...
Getting remote branches...
Checking branch AO055200
Getting remote pull requests...
‘Jenkinsfile’ found
Met criteria
No changes detected: AO055200 (still at 4591b6532f66cb042f577a010b15920d88228be4)
Checking branch CR017933
‘Jenkinsfile’ found
Met criteria
No changes detected: CR017933 (still at 3adf73afbdac409122f8094bb613dfaf2e5ccf20)
Checking branch PH055018
Checking branch master
‘Jenkinsfile’ found
Met criteria
No changes detected: master (still at 76ffdb47caf9a544b1b19b4eb35d5b2df5fab77b)
4 branches were processed
Checking pull-requests...
Checking pull request #29
‘Jenkinsfile’ found
Met criteria
No changes detected: PR-29 (still at aca8973b0b496292c1342dbf63bab25fec0f068e+76ffdb47caf9a544b1b19b4eb35d5b2df5fab77b)
1 pull requests were processed
Finished examining Org/Branch1
[Tue Sep 18 01:48:15 CDT 2018] Finished branch indexing. Indexing took 3.6 sec
Finished: SUCCESS
即使所有4个分支都有JenkinsFile,Jenkins也只识别出4个分支中的3个。 谁能告诉我如何调试这种情况?