jenkinsci / jenkins-test-harness

Unit test framework for Jenkins core and its plugins
https://www.jenkins.io/doc/developer/testing/
MIT License
109 stars 126 forks source link

Avoid calling `Jenkins.setNoUsageStatistics` unless necessary #834

Closed jglick closed 1 month ago

jglick commented 1 month ago

Unlike the situation in #512, this call was a no-op after the first step, yet the implementation still saved $JENKINS_HOME/config.xml, causing churn and noise. (Extracted from #827.)