Hi Self build
When you crank the engine you should be able to hear a noise like a
quack and this is the point at which the injector should inject. From
what you say it sounds like fuel starvation. There is enough to spit
out initially but then it is running out?
As a start I would work methodically through the fuel system starting
at the tank to check that the diesel is coming through as it should be
and bleed out any air from the filter etc. You may have to crank it
for a while to bleed all the air out of the system.
If you have already done this then we will need to think again.
Jim