Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们正在使用 Maven 2 和 Hudson,一切运行良好。我的问题是可以让 Hudson 使用特定的“-D”参数在特定项目中运行所有单元测试。例如,“mvn test -DlogConfig=qa”。提前致谢。
在项目配置页面中有“构建”部分和“目标和选项”文本字段,您可以在其中放置“-D 参数”和要运行的目标。