Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道 Jenkins 或 Git 似乎有什么问题?尝试使用 Jenkins 构建从 Git 获取的作业时出现以下错误:-
stderr: fatal: unable to access 'http://website.com/_git/projectName.git/': The requested URL returned error: 502
Git 存储库的 URL 似乎不是 Git 支持的。
检查问题是否与 Jenkins 无关的一个好方法是尝试在自己的工作站上本地克隆存储库:
git clone http://website.com/_git/projectName.git
如果这不起作用,它也不会在 Jenkins 工作中起作用。