Branch: refs/heads/master Home: https://github.com/jenkinsci/gradle-plugin Commit: 2a2f41ee9b4523a0dc741ace3dcb7601488e8187 https://github.com/jenkinsci/gradle-plugin/commit/2a2f41ee9b4523a0dc741ace3dcb7601488e8187 Author: Rich Fromm <r...@locationlabs.com> Date: 2013-10-02 (Wed, 02 Oct 2013)
Changed paths: A src/main/java/hudson/plugins/gradle/GetGradleCommand.java Log Message: ----------- Add a new command to the CLI, get-gradle This lists a subset of the known information about all gradle installations, formatted as JSON. On the jenkins server, this information is stored in the file hudson.plugins.gradle.Gradle.xml. What we are outputting here is a map, where the keys are the names of all of the gradle installations, and the values are an array if id's for all of the installers that correspond to the given installation. The original source for this info is GradleInstallation.DescriptorImpl.getInstallations(). This commit includes a bunch of commented out stuff as well that could serve as a future reference for navigating through more of the data structure, if it was desired for the output to be more comprehensive. The next commit will clean this up. Commit: d6aebdb3c9f77f89787d9383a231261f0bec078c https://github.com/jenkinsci/gradle-plugin/commit/d6aebdb3c9f77f89787d9383a231261f0bec078c Author: Rich Fromm <r...@locationlabs.com> Date: 2013-10-02 (Wed, 02 Oct 2013) Changed paths: M src/main/java/hudson/plugins/gradle/GetGradleCommand.java Log Message: ----------- Cleanup only. No functional changes. Add a descriptive comment, remove commented out code. Commit: 0efea9fc8bc7e145ed55d0ba5b275f0e9ca44488 https://github.com/jenkinsci/gradle-plugin/commit/0efea9fc8bc7e145ed55d0ba5b275f0e9ca44488 Author: Rich Fromm <r...@locationlabs.com> Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M src/main/java/hudson/plugins/gradle/GetGradleCommand.java Log Message: ----------- add an optional option, --name, to limit the output to just a single installation. also add more and better comments and a little other misc. cleanup. and add a --help option for a usage statement, but that still needs a little more work. Commit: 7f5078de9bda049864d82338da469e7e71dc30d9 https://github.com/jenkinsci/gradle-plugin/commit/7f5078de9bda049864d82338da469e7e71dc30d9 Author: Rich Fromm <r...@locationlabs.com> Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M src/main/java/hudson/plugins/gradle/GetGradleCommand.java Log Message: ----------- call printUsage() instead of printUsageSummary(). this was my plan all along, i just needed to figure out where to get a CmdLineParser object to pass. i think what i'm doing to create it is okay, and it seems to work, but it was somewhat of a guess. one slight difference between this case (calling --help explicitly) and the implicit usage (e.g. when you get the command wrong) is that in this case we're only printing out the options for this command, but in the other case the general options to the jenkins CLI are also output. i can't decide whether i'd want those or not, but i don't know how to control them anyway, so it's fine how it is now. Commit: 21f7485395f254fa0b962111ebb91a19e11be983 https://github.com/jenkinsci/gradle-plugin/commit/21f7485395f254fa0b962111ebb91a19e11be983 Author: Gregory Boissinot <gregory.boissi...@gmail.com> Date: 2014-04-06 (Sun, 06 Apr 2014) Changed paths: A src/main/java/hudson/plugins/gradle/GetGradleCommand.java Log Message: ----------- Merge pull request #19 from richfromm/master Add a new command to the CLI, get-gradle Compare: https://github.com/jenkinsci/gradle-plugin/compare/8e6f838a6d05...21f7485395f2 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.