When set the title of the message comes clickable and leads to this url.

To link the executed job use env.BUILD_URL.
This requires Jenkins URL to be set in Global Settings.