A mathematical model of the pipeline as a Koiter‐Vlasov moment shell with kink lines of the surface at the junctions of the pipe segments was constructed and substantiated. The following tasks are solved: The geometric parameters of the mechanical system as a three‐dimensional elastic body and as a shell are found; force factors of the shell are expressed in terms of displacements of the middle surface of the wall, taking into account the presence of a kink line; equations of pipe equilibrium are derived as Koiter‐Vlasov shells with an edge along the line; forces on oblique sections are expressed as functions of shell movements; the conjugation conditions on the pipe joint line for displacements and the angle of rotation of the normal are imposed and justified; conjugation conditions for bending moments, shear forces, transverse and normal forces are imposed and justified. The presence of the solution singularity at points on the connection line of the pipe segments is theoretically established and illustrated by the numerical example.