This is a working example of a basic jenkins unit test from the following blog posts.
To create or overwrite the callstacks for regression test(s) you must set pipeline.stack.write=true
property.
- This can be done in the
gradle.properties
file - or by passing it as a system property when running gradle:
gradle clean test --info -Ppipeline.stack.write=true
Callstack files are named ${ClassName}_${subname}.txt
where subname is the String value passed to testNonRegression("some-text")
.