简体   繁体   English

詹金斯(Jenkins)-在比流更细的层次上关注变化

[英]Jenkins - watching for changes on a finer level than the stream

I've got a particular use case for SCM and Jenkins CI/CD server. 我有一个SCM和Jenkins CI / CD服务器的特定用例。 Currently my setup only allows me to check for changes in an entire code stream. 目前,我的设置仅允许我检查整个代码流中的更改。 The stream itself consists of multiple Eclipse plugins. 流本身包含多个Eclipse插件。

Now, I only want to kick off my pipeline if there are changes delivered to a subset of those plugins, not the stream itself. 现在,我只想在将更改传递给那些插件的子集而不是流本身的情况下,启动我的管道。 Is there currently an effective way to achieve this? 当前是否有实现此目的的有效方法?

My current idea is along the lines of parsing the changelog.xml, but I'm not exactly sure how or when this gets created. 我当前的想法是解析changelog.xml,但是我不确定如何创建或何时创建。 My SCM is RTC but unfortunately I cannot modify anything on that side. 我的SCM是RTC,但是很遗憾,我不能在那边进行任何修改。

We're using something similar. 我们正在使用类似的东西。 We're running our deployment only in case of particular changes. 我们仅在有特定更改的情况下才运行我们的部署。 You can quite easily do it using RTC Plain API (creating a script or a custom ant task) and running it as a pre-build step in jenkins. 您可以使用RTC Plain API(创建脚本或自定义ant任务)并在jenkins中将其作为预构建步骤运行,轻松完成此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM