Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None

      Description

      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:

        Activity

        Hide
        dbaeli dbaeli added a comment -
        Show
        dbaeli dbaeli added a comment - Pull request done : https://github.com/jenkinsci/jenkins/pull/139
        Hide
        dogfood 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
        Show
        dogfood 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
        Hide
        dbaeli dbaeli added a comment -

        Done during the hackathon in Paris, commited by Kohsuke

        Show
        dbaeli dbaeli added a comment - Done during the hackathon in Paris, commited by Kohsuke
        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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
        Hide
        scm_issue_link 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

        Show
        scm_issue_link 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

          People

          • Assignee:
            dbaeli dbaeli
            Reporter:
            dbaeli dbaeli
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: