Add testing of Plugins to Jenkins
Once 3293 is fixed, we should figure out how to test plugins in jenkins.
#2 Updated by Sam Kottler almost 8 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?
#4 Updated by Dominic Cleal almost 8 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.