sql server 2012 to sql server 2017 migration [closed]

How to migrate from sql server 2012 to sql server 2017 with all dependency, jobs, agents etc. together or any other best method to support it

I got some tool like data mirror migration but it has some limitation
old os version windows server 2008 to new win server 2016

Any suggestion or best approach