I'm trying to update a Jenkins plugin to add it some more functionality.
After I updated it, in a class QualityGatesProvider
there is an Exception and the Jenkins job fails.
Just before that line, I tried logging in two ways:
import java.util.logging.Logger;
//other code
private static final Logger log = Logger.getLogger( QualityGatesProvider.class.getName() );
log.info("QualityGatesProvider hello world");
and:
System.out.println("QualityGatesProvider hello world");
I know for sure that control reaches these statements(because in the line after them there is an exception).
However, their output doesn't appear in the log files.
Any idea what could be the problem?