jenkins报错:

Couldn't find any revision to build. Verify the repository and branch configuration for this job.

导致这个问题的原因多种多样,记录下我遇到过的场景

1.git 配置的是develop,实际上只有master这个分支;so~~ 找了很久才找到这个原因

2.slave-agent机器,时间不同步,导致有时差,git拉去代码时都会超时;

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐