Martinez was elected general secretary of the CGT by the National Confederal Committee on February 3, 2015 with 93.4 percent of the votes, and was confirmed to that position by the congress of Marseille in April 2016, after he travelled across France during one year to meet the local sections of the union to strengthen his popularity.