• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      Produce a live list of available command lines in the Cli interface and cli help command like "java -jar jenkins-cli.jar -s http://localhost:8080/ help" and improve it with html fragments for samples.

      GOAL:

      • Discover at runtime the available CLICommand extensions (sub-classes of CLICommand or @MethodCLI annotations)
      • Display help content in http://localhost:8080/cli (_cli.jelly)

      INFOS:

          [JENKINS-9789] Live CLI Documentation

          dbaeli added a comment -

          dbaeli added a comment - Pull request done : https://github.com/jenkinsci/jenkins/pull/139

          dogfood added a comment -

          Integrated in jenkins_main_trunk #818
          [FIXED JENKINS-9789] display the list of available CLI Commands

          Kohsuke Kawaguchi : 84a78d5bac5b1ac45f7f8f957287b1ba4391c263
          Files :

          • changelog.html
          • core/src/main/resources/hudson/model/Hudson/_cli.jelly
          • core/src/main/java/hudson/Functions.java
          • core/src/main/resources/hudson/model/Hudson/_cli.properties

          dogfood added a comment - Integrated in jenkins_main_trunk #818 [FIXED JENKINS-9789] display the list of available CLI Commands Kohsuke Kawaguchi : 84a78d5bac5b1ac45f7f8f957287b1ba4391c263 Files : changelog.html core/src/main/resources/hudson/model/Hudson/_cli.jelly core/src/main/java/hudson/Functions.java core/src/main/resources/hudson/model/Hudson/_cli.properties

          dbaeli added a comment -

          Done during the hackathon in Paris, commited by Kohsuke

          dbaeli added a comment - Done during the hackathon in Paris, commited by Kohsuke

          Code changed in jenkins
          User: Dimitri BAELI
          Path:
          changelog.html
          core/src/main/java/hudson/Functions.java
          core/src/main/resources/hudson/model/Hudson/_cli.jelly
          core/src/main/resources/hudson/model/Hudson/_cli.properties
          http://jenkins-ci.org/commit/jenkins/84a78d5bac5b1ac45f7f8f957287b1ba4391c263
          Log:
          [FIXED JENKINS-9789] display the list of available CLI Commands

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dimitri BAELI Path: changelog.html core/src/main/java/hudson/Functions.java core/src/main/resources/hudson/model/Hudson/_cli.jelly core/src/main/resources/hudson/model/Hudson/_cli.properties http://jenkins-ci.org/commit/jenkins/84a78d5bac5b1ac45f7f8f957287b1ba4391c263 Log: [FIXED JENKINS-9789] display the list of available CLI Commands

          Code changed in jenkins
          User: Dimitri BAELI
          Path:
          changelog.html
          core/src/main/java/hudson/Functions.java
          core/src/main/resources/hudson/model/Hudson/_cli.jelly
          core/src/main/resources/hudson/model/Hudson/_cli.properties
          http://jenkins-ci.org/commit/jenkins/84a78d5bac5b1ac45f7f8f957287b1ba4391c263
          Log:
          [FIXED JENKINS-9789] display the list of available CLI Commands

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dimitri BAELI Path: changelog.html core/src/main/java/hudson/Functions.java core/src/main/resources/hudson/model/Hudson/_cli.jelly core/src/main/resources/hudson/model/Hudson/_cli.properties http://jenkins-ci.org/commit/jenkins/84a78d5bac5b1ac45f7f8f957287b1ba4391c263 Log: [FIXED JENKINS-9789] display the list of available CLI Commands

            dbaeli dbaeli
            dbaeli dbaeli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: