On my side, the problem was that the contents jobs directory were own by root and not jenkins. So once I changed the the ownership to jenkins, everything started working.