-
Improvement
-
Resolution: Fixed
-
Major
-
None
There have been several pull requests related to the location of the gradle wrapper. This issue is meant to concentrate the discussion for where the wrapper can be found.
Current thinking is that the plugin should check for the wrapper in the following locations in this order:
- User supplied location from job cofiguration - 'Path to gradle wrapper'
- User supplied location from master configuration - default for all jobs on master
- root of build script directory - parallel to build.gradle
- root of workspace
Looking for comments/discussion.
Reference:
https://github.com/jenkinsci/gradle-plugin/pull/9
https://github.com/jenkinsci/gradle-plugin/pull/11
https://github.com/jenkinsci/gradle-plugin/pull/13
You should look at the logic in the enhanced gradle wrapper called gdub ( http://www.gdub.rocks/ )
and see if the logic for how it looks for build.gradle can be used in what you are doing.