i've created 1 jenkins job execution 5 test cases , works, not in terms of build creation.
build status coming success if there failure test cases during execution.
for instance, 2 test cases out of 5 got failed during recent run, build status has become success!!!
please me in correcting this.....
note: i'm using jenkins 1.617 & ant 1.9.4 integration.
if executing junits in jenkins, default status unstable jenkins job , success maven/ant build.
if using ant build add below property junit task make build failed failureproperty="test.failed". if want fail build if 1 junit fails, add property haltonfailure="yes"
if using maven add argument -dmaven.test.failure.ignore=false
Comments
Post a Comment