Diesel engines, unlike gasoline engines, do not use spark plugs to induce combustion.
The temperature at the top of the compression stroke depends on many factors, particularly the compression ratio of the cylinder and the starting temperature of the inducted air.