We consider the Ginzburg-Landau functional, defined on a twodimensional simply connected domain with smooth boundary, in the situation when the applied magnetic field is piecewise constant with a jump discontinuity along a smooth curve. In the regime of large Ginzburg-Landau parameter and strong magnetic field, we study the concentration of minimizing configurations along this discontinuity.