不同的 Maven 在单个 hudson 作业中构建配置文件
我的构建中有多个配置文件。其中之一是在每次签入时运行的配置文件,并执行标准构建/测试/findbugs/等。我还有一个每晚运行的构建配置文件,它运行更深入的构建并捕获更多指标。现在我有两份哈德逊工作。有没有办法将它们合并到一个作业中,这样当项目发生变化时我不需要同时更新它们?理想情况下,我可以在 SCM 更改上运行一个配置文件,并在每晚运行另一个配置文件。
谢谢, 杰夫
I have multiple profiles in my build. One of them is a profile that is run on every checkin and does a standard build/test/findbugs/etc. I also have a nightly build profile that I run that runs a more in-depth build and captures more metrics. Right now I have two hudson jobs. Is there a way to combine these into a single job so I don't need to update both of them when something about the project changes? Ideally I could run one profile on the SCM changes and another profile nightly.
Thanks,
Jeff
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这是不可能的,因为这两个作业无论如何都有一些差异:
sonar:sonar
),或者至少启用的配置文件不同。或者也许有一些“作业同步”插件?
I don't think this is possible, as these two jobs have some differences anyway:
sonar:sonar
on the second job) or at least not the same profiles that are enabled.Or maybe there is some "jobs synchronization" plugin?