giving some debug help as it isn't working in jenkins properly