在Jenkins生成报告中,反应堆项目中不再存在的Maven模块显示为“未运行". [英] Maven modules which no longer exist in a reactor project appear in the Jenkins build report as "didn't run"

查看:190
本文介绍了在Jenkins生成报告中,反应堆项目中不再存在的Maven模块显示为“未运行".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个多模块Maven项目,其中包含嵌套的其他一些反应堆子模块.结果,我有3个层次的模块层次结构.

I have a multi-module maven project which contains nested some other reactor submodules. As result I have a 3 level hierarchy of modules.

过去,我重构了层次结构,将一些嵌套模块从一个移到另一个.我还修改了一些模块的名称.

In the past I refactored the hierachy, moving some nested modules from one to another. I modified as well the names of some of the modules.

在Jenkins上,旧模块(现在不存在)在构建报告中显示为未运行".当我在本地进行maven安装时,这些模块不会出现在反应堆摘要中.

On Jenkins, the old modules - now unexistent - appear in the build report as "didn't run". When I do locally a maven install these modules don't appear in the reactor summary.

是否以某种方式预期了这种行为? 我的意思是,詹金斯中是否有任何设置可以使反应堆运行器记住旧的子模块?

Is this behavior somehow expected? I mean, are there any setting in jenkins which makes the reactor runner remember old sub-modules?

启用了在构建开始之前删除工作区"选项.

The "Delete workspace before build starts" option is enabled.

推荐答案

您是否尝试过在 Configure Modules 之间删除删除所有禁用的模块的操作在项目页面上是否显示"strong>"?

Have you tried the action Delete All Disabled Modules available between Configure and Modules on the project page ?

这篇关于在Jenkins生成报告中,反应堆项目中不再存在的Maven模块显示为“未运行".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆