java - 错误:找不到要构建的任何修订。验证此作业的存储库和分支配置。完成:失败
问题描述
我正在通过安装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
解决方案
推荐阅读
- sql - Postgresql,查询以计算特定性别的机器使用次数
- python - ProcessPoolExecutor pass multiple arguments
- c++ - 为什么这些范围之外的字符也会被输出文件中的加法/减法改变?
- python - 需要从与用户表相关的日期表中获取值
- visual-studio - VS2019安装SQL Server组件查看网页时出现err_connection_reset
- docker - GKE - 在运行时绕过 Pod LoadBalancer(Pod 的外部 IP)到 Pod 的容器的 IP 以用于 WebSocket 目的
- epub - 在 epubcheck 中验证 epub 时出错,它说这个
- python - 如何检查 URL 是否包含某些内容
- java - Hibernate 和 MySQL:@CreationTimestamp 注释的 Date 属性在保存新实体时抛出 ConstraintViolationException
- flutter - 在 showModalBottomSheet 外部单击时,如何控制传递给 Navigator.pop() 的内容?