Ringspot, caused by the fungus Mycosphaerella brassicicola, is a serious disease of Brassica crops worldwide. Despite noteworthy progress to reveal the role of glucosinolates in pathogen defense, the host–pathogen interaction between cabbage (Brassica oleracea) and M. brassicicola has not been fully explored. Here, we investigated the glucosinolate profiles and expression of glucosinolate biosynthesis genes in the ringspot-resistant (R) and susceptible (S) lines of cabbage after infection with M. brassicicola. The concomitant rise of aliphatic glucoiberverin (GIV) and indolic glucobrassicin (GBS) and methoxyglucobrassicin (MGBS) was linked with ringspot resistance in cabbage. Pearson’s correlation and principle component analysis showed a significant positive association between GIV contents and the expression of the glucosinolate biosynthesis gene ST5b-Bol026202 and between GBS contents and the expression of the glucosinolate biosynthesis gene MYB34-Bol017062. Our results confirmed that M. brassicicola infection induces the expression of glucosinolate biosynthesis genes in cabbage, which alters the content of individual glucosinolates. This link between the expression of glucosinolate biosynthesis genes and the accumulation of their respective glucosinolates with the resistance to ringspot extends our molecular sense of glucosinolate-negotiated defense against M. brassicicola in cabbage.