RedHatSatellite / soe-ci

Jenkins integration scripts for use in an SOE Build Factory based on Red Hat Satellite 6.
GNU General Public License v3.0
42 stars 32 forks source link

remove hard-coding of the groovy config files #103

Closed jeichler closed 7 years ago

jeichler commented 7 years ago

fixes #95

it's convention over configuration and added in the documentation. basically by chosing the rhel-version as parameter (e.g. rhel-7 oder rhel-6), the respective config files are chosen (for the pipeline and the mock config). this approach is chosen in order to allow the users to use the pipeline for multiple versions of rhel with the same pipeline and also to avoid typos due to longer file names. on top of that, it forces users to stick to a naming convention.