I am writing a Jenkins plugin and testing it with mvn verify and JenkinsRule . So far so good, but I would like to be able to calm the exit; these are pages per test. What configuration file do I use and where to put it?
I tried the appropriate log4j.properties (and, of course, logging.properties) in src / test / resources (and therefore the target / test classes); I tried to put them in the target / jenkins-for-test / WEB-INF / classes which didn't help either.
In the event that it runs through any memory, the conclusion I'm trying to suppress is things like
Feb 08, 2014 2:26:40 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Feb 08, 2014 2:26:40 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins
and
Feb 08, 2014 2:26:44 PM hudson.PluginWrapper stop INFO: Stopping javadoc Feb 08, 2014 2:26:44 PM hudson.PluginWrapper stop INFO: Stopping maven-plugin
java maven jenkins jenkins-plugins java.util.logging
Paul hicks
source share