您在使用jenkins构建java项目时遇到以下错误,Github中存在源代码
Started by user anonymous
Building in workspace C:\Users\Administrator\.jenkins\workspace\TestProject
> C:\Program Files\Git\bin\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> C:\Program Files\Git\bin\git.exe config remote.origin.url https://github.com/xxxxxxxx/yyyyyyyy.git # timeout=10
Fetching upstream changes from https://github.com/xxxxxxxx/yyyyyyyy.git
> C:\Program Files\Git\bin\git.exe --version # timeout=10
using .gitcredentials to set credentials
> C:\Program Files\Git\bin\git.exe config --local credential.username testuser # timeout=10
> C:\Program Files\Git\bin\git.exe config --local credential.helper store --file=\"C:\apache-tomcat-7.0.57_test\temp\git2715746879795272610.credentials\" # timeout=10
> C:\Program Files\Git\bin\git.exe -c core.askpass=true fetch --tags --progress https://github.com/xxxxxxxx/yyyyyyyy.git +refs/heads/*:refs/remotes/xxxxxxxx/yyyyyyyy/*
> C:\Program Files\Git\bin\git.exe config --local --remove-section credential # timeout=10
> C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/master/TestProjectSearch^{commit}" # timeout=10
> C:\Program Files\Git\bin\git.exe rev-parse "refs/remotes/origin/origin/master/TestProjectSearch^{commit}" # timeout=10
> C:\Program Files\Git\bin\git.exe rev-parse "origin/master/TestProjectSearch^{commit}" # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE
请任何人帮我解决此问题 感谢
答案 0 :(得分:0)
鉴于你在2016年6月问过这个问题,可能是由于这个security update from May, 2016打破了Github Pull Request构建器插件。根据该页面,后来恢复了功能。
支持更新Jenkins安装或插件的Jenkins用户可能会在以后遇到此问题。