For the duration (of something)

For the whole time that something continues.

We had to use the outside classroom for the duration of the semester.