Feature #3343
closedAdd testing of Plugins to Jenkins
Description
Once 3293 is fixed, we should figure out how to test plugins in jenkins.
Updated by Sam Kottler about 11 years ago
Some initial thoughts on this...
It'd be nice to have something like a plugin template available so that all the plugins use the same test framework and have some default tasks like being able to generate the xmlunit reports that Jenkins can consume. For now, all the plugins we want to test will need to have ci_reporter in the Gemfile and and require 'ci/reporter/rake/minitest' in their Rakefile.
Also, as for the job itself - we'll have to clone core into the workspace before running the tests?
Updated by Greg Sutcliffe about 11 years ago
I agree on the template - we do have a plugin template, so I'll send an update with the changes I made to foreman_default_hostgroup once #3293 is merged.
Updated by Dominic Cleal about 11 years ago
- Status changed from New to Closed
- Assignee set to Dominic Cleal
- % Done changed from 0 to 100
test_plugin job has been added, which is designed to be generic. We've now got jobs calling it for katello, default_hostgroup, bootdisk and hooks. If there are any other plugins, please just clone one of the above jobs.