Trigger a job and get the job log on the same page in Jenkins
It looks like there exists a plugin to do exactly what you want: Display console output plugin.

However, I haven't tried this plugin myself, and it looks like this plugin is not well-maintained, so I cannot vouch for the quality of this plugin.