Accordion-like pattern, linear sketch pattern

Hi,

Is it possible to apply a linear sketch pattern to the accordion-like structure below so that it automatically repeats itself?

I have tried with the linear sketch pattern feature but I do not manage to match the pieces in the correct position. Any help?

SolidworksParts And Features