Jenkins整合SpringCloud+GitLab+Docker实现自动化镜像部署:
https://blog.csdn.net/qq_36565692/article/details/123205428?spm=1001.2014.3001.5501
Jenkins进行服务部署过程中打包报错
[ERROR] [ERROR] Could not find the selected project in the reactor: org.example:cloud-auth @
[ERROR] Could not find the selected project in the reactor: org.example:cloud-auth -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE
导致因素:父服务指定了groupId子服务就不需要再指定
解决方案:删除报错服务pom.xml的groupId标签
提交到远程仓库
重新部署测试
完美解决!