Welded hydraulic cylinder with pivot bolt