문제

I want to generate a run ID for each run in maven. For example if i run a test cases; a run id should be included in the report that can be used for identifying that test case run. Thanks in advance.

도움이 되었습니까?

해결책

Use the Build Number Maven Plugin to create the number and then load it whereever you need it.

http://mojo.codehaus.org/buildnumber-maven-plugin/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top