The Pretested Integration Plugin offers a branchy approach to pretested integration (also known as pre-tested commits), which upholds the invariant; that for a specific branch, known as the integration branch, all commits have been verified.
This plugin is developed by the josra.org organisation.
We are going for a one-click-configuration. so after the plugin is installed simply go to the job, enable pre tested integration by clicking 'Use pretested ingegration'. Everything should now be configured and work out of the box, if you integration branch is master.
For more information check out this blog post: josra.org/PretestedIntegration