我正在安装maven,通过aws centos 7中的git存储库部署java项目的jar文件
Started by user sudeep garg
Running as SYSTEM
Building in workspace /var/lib/jenkins/workspace/test1
The recommended git tool is: NONE
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/buildpacks/sample-java-app.git # timeout=10
Fetching upstream changes from https://github.com/buildpacks/sample-java-app.git
> git --version # timeout=10
> git --version # 'git version 1.8.3.1'
> git fetch --tags --progress https://github.com/buildpacks/sample-java-app.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse origin/master^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE
1条答案
按热度按时间svgewumm1#
回购的默认分支https://github.com/buildpacks/sample-java-app 是
您正在尝试结帐
将此设置为main,它应该可以工作。