Global shares rallied and European shares hit a record close on Friday, led by technology stocks and a largely positive slate of corporate earnings, while softer US jobs data further supported sentiment.Brent crude futures reversed course on Friday to fall 0.7 per cent to around $82 a barrel, as investors largely shrugged off Saudi Arabia’s warnings.DUBLINThe Irish market ended the week on a positive note, notching up a 2 per cent gain on the day, as construction and some financial stocks buoyed the index. That brought the Euronext Dublin to a rise of 4 per cent over the week. Insulation specialist Kingspan was the standout performer, with its shares adding almost 18 per cent. The company’s stock surged after the group said it would pause a €650 million share buyback programme and appraise potential acquisition opportunities. Kingspan also raised its full-year profit guidance, as it reported a trading profit of €487.2 million for the first six months of the year, ahead of analysts’ expectations. Bank of Ireland saw a small gain on Friday, adding 0.34 per cent to close the week up 3.7 per cent. FBD, meanwhile, gained 1.4 per cent on strong results. AIB saw its stock drop 1 per cent to €10.86. Elsewhere in the market, Ryanair shed 1.1 per cent and Kerry group lost 0.6 per cent. LONDONThe main UK indices ended with a fourth consecutive week of gains on Friday, as ​a rally in precious metal miners helped offset concerns over when the US and Iran would reach a lasting peace deal.The blue-chip FTSE 100 rose 0.3 per cent to 10,901.09 points, while the midcap FTSE 250 added 0.7 per cent ​to 24,854.86 points. Both were on track for weekly gains, with the midcap index set for its biggest ⁠weekly gain since mid-April.UK-listed shares of Hochschild, Fresnillo and Endeavour Mining rallied in ‌a range ​of 4 per cent to 6 per cent, as gold prices jumped.Shares of oil majors Shell and BP fell 1.1 per cent and 0.5 per cent, respectively, as crude ⁠prices slipped on signs that Gulf ​states and Iran were nearing a deal ​to reopen the Strait of Hormuz under a temporary arrangement intended to pave the way ‌for broader talks to end the ​Iran war.EUROPEThe pan-European Stoxx 600 closed 0.3 per cent higher, at a record 660.25 points, its fourth consecutive weekly advance.Markets capped a busy earnings week that had pushed the benchmark to ​multiple record highs. Expectations of a potential US-Iran agreement also supported sentiment throughout ⁠the week.Technology shares added 1.9 per cent in the session, tracking gains from Wall Street, and were the best-​performing sector on the Stoxx 600 over the week.Investors parsed the US non-farm payrolls report that showed the ​world’s largest economy shed jobs unexpectedly last month, reducing the perceived chance of an interest rate hike by the Federal Reserve in September.Healthcare stocks rose 1.2 per cent. ​Genmab jumped 6.5 per cent after the cancer drugmaker reported higher first-half revenue and raised its full-year outlook.Novo Nordisk and Abivax gained ‌3.9 per cent ⁠and 3.5 per cent, respectively.NEW YORKUS stocks rose on Friday, led by technology and consumer discretionary shares, and treasury yields fell, reflecting ebbing expectations that the Fed ​will raise rates at next month’s meeting. Among big gainers around midday were Elon Musk’s SpaceX, up 12 per cent on the day and 19 per cent for the week despite a large share lock-up having been lifted on Thursday, and Tesla, up 3.8 per cent for the day and 6.4 per cent for the week. The Nasdaq rose 1.3 per cent near midday and the dollar fell, giving the Japanese yen a reprieve. The yen strengthened to 157.70 to the dollar after earlier nearing 159, ​a level widely seen as a potential trigger for policy intervention. – Additional reporting: Reuters