Praqma / JenkinsAsCodeReference

This repository is intended for the reference Jenkins configuration as code as well as JobDSL library
BSD 3-Clause "New" or "Revised" License
142 stars 110 forks source link

Use full names for classes instead of imports #143

Open Andrey9kin opened 7 years ago

Andrey9kin commented 7 years ago

imports in groovy scripts create a dependency to plugins, i.e. we have to have all plugins installed since imports will always be executed. The idea is to avoid such unnecessary dependency by using full class names instead of imports. In this case, classes will be called only after we check that configuration section is enabled