Added logging to debug what happens on jenkins