Strictly speaking, first fossil fuel pipeline in USSR territory would be the the Balakhanu-Black City pipeline, built in 1878 by Vladimir Shukhov, renowned for his innovations in oil industry and in industrial architecture in general, for The Petroleum Production Company Nobel Brothers, Limited in Baku - one of the first pipeline transport systems in history. That was just a local 10 km long well-to-refinery pipeline, and for a long time all Russian pipelines were confined to this small scale. First major Russian pipeline, Grozny - Port Petrovsky (now called Mahachkala), was launched only in July of 1914. Thus, USSR inherited from Russian Empire this one major pipeline and several networks of local pipelines, amounting to ~1300 km of pipelines.
The first major pipeline built in USSR was the Baku-Batumi pipeline, which was launched in 1930. By 1941 there were 4100 km of pipelines, transporting 7.9m tons of oil annually.
As for why you did not read about Russians destroying pipelines when retreating - as far as I know by that point there were little to no pipelines to the west of Moscow. German forces never reached any major pipelines, thus there were no need to destroy any of them.
1) Шаммазов А.М., Мастобаев Б.Н., Сощенко А.Е. Трубопроводный транспорт России(1860-1917 гг.) // Трубопроводный транспорт нефти, 2000, №6;
2) Шаммазов A.M., Мастобаев Б.Н., Бахтизин Р.Н., Сощенко А.Е. Трубопроводный транспорт России (1917-1945) // Транспорт и хранение нефти, 2000, №9.