A general answer for this problem can not be given here with 100%. Here some hints:

 - The problem you might be running in is called **self plagiarism** and
   different institutions allow/forbid different approaches here.
 - If you are planning to write the thesis like this (which is absolutely your right) then: 
 - It is essential for you to get the guidelines of your university
   before (and save them somewhere where you will still be able to find
   even years later) 
 - Check the policy of the journals that you have    published in - most
   journals allow to re-use published material in    your thesis but make
   sure to also print out these guidelines and keep    them.