Hudson 构建忽略 .properties 路径
我正在尝试在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的应用程序使用业务和批处理组件,请验证业务组件的属性。请注意为您的业务组件属性声明的文件夹。
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.