当前位置:网站首页>问题记录:jenkins构建时报错The goal you specified requires a project to execute but there is no POM in...
问题记录:jenkins构建时报错The goal you specified requires a project to execute but there is no POM in...
2022-08-03 01:57:00 【阳光很暖吧】
jenkins构建时报错:The goal you specified requires a project to execute but there is no POM in this directory (/var/jenkins_home/workspace/jeecg-boot_master). Please verify you invoked Maven from the correct directory
正常情况下,我们创建项目的时候,习惯性的把pom.xml文件存放在根目录下,如果没有放到根目录下,jenkins找不到pom.xml文件就会报错
解决:在Jenkinfile中mvn打包时添加存在pom.xml文件的路径即可
边栏推荐
猜你喜欢
随机推荐
XSS攻击
”QSqlDatabasePrivate::removeDatabase: connection ‘test-connect‘ is still in use“数据库多次打开报错
【Swoole系列3.3】单进程管理Process
ES6 新特性:Class 的基本语法
vs studio install opencv environment
【Arduino】重生之Arduino 学僧(2)----Arduino语言
torchvision.datasets.ImageFolder使用详解
mysql binlog日期解析成yyyy-MM-dd
[Arduino] Reborn Arduino Monk (2)----Arduino Language
常用工具链和虚拟环境-Cygwin
JVM internal structure and various modules operation mechanism
五大靠谱的婚恋相亲APP详细特点缺点分析!
numpy PIL tensor之间的相互转换
5.软件测试-----自动化测试
Jenkins2.328+sonarqube7.9 实现代码自动化检测
[Static type and dynamic type compile check and run check in Objective-C]
梅科尔工作室-14天华为培训三
PHICOMM(斐讯)N1盒子 - Armbian5.77(Debian 9)基本配置
pytest:如何调用 pytest
2022-08-02:小红拿到了一个大立方体,该大立方体由1*1*1的小方块拼成,初始每个小方块都是白色。 小红可以每次选择一个小方块染成红色, 每次小红可能选择同一个小方块重复染色, 每次染色以后,









