Hudson 构建忽略 .properties 路径

发布于 2024-12-13 15:40:36 字数 287 浏览 2 评论 0原文

我正在尝试在 Hudson 中构建一个 Maven 项目,在这里我设置了 .properties 文件的路径。然而,它似乎从其他地方获取它们(它肯定会获取它们,因为它连接到数据库并运行一些查询),因为我故意将其设置为无效路径。

没有错误,一切运行正常。

我需要向 .properties 文件添加另一个变量,但它似乎忽略了它。是否有它使用的临时/缓存文件夹?

目标和选项:清理流程资源“-Dproperties=/data/ic/test/aradd”-Denv=测试站点清理

I`m trying to build a maven project in Hudson and here I set the path for the .properties files. Yet it seems to get them from somewhere else (it definitely gets them because it connects to the db and runs some queries) because I set this to a invalid path on purpose.

There is no error and everything runs OK.

I need to add another variable to the .properties file and it seems to ignore it. Is there a temp/cache folder it uses?

Goals and options: clean process-resources "-Dproperties=/data/ic/test/aradd" -Denv=test site clean

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怪我鬧 2024-12-20 15:40:36

如果您的应用程序使用业务和批处理组件,请验证业务组件的属性。请注意为您的业务组件属性声明的文件夹。

If your application uses a business and a batch component verify the properties for the business component. Be careful for the declared folder for your business component properties.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文