How to clean up Jenkins job so build stability is not affected
How would someone clean up a Jenkins job such that the build stability rating is reset and not affected by previous builds? I created a build job and through trial and error, I finally got the job to compile/build correctly. However, I don’t want all the previous test builds to affect the build stability rating. I tried deleting all the builds and restarting Jenkins but it still says 20 of the last 25 builds failed. I looked in the $JENKINS_HOME directory (~/.jenkins) and couldn’t find anything regarding build stability. Thanks.
One Solution collect form web for “How to clean up Jenkins job so build stability is not affected”
When you configure the job you can tell it how long to keep the logs for – either days or build. Set this to one build to clear it out then reset it back again