XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: cli
    • Labels:
      None
    • Environment:
      JENKINS WAR VERSION 1.586
      WINDOWS SERVER 2008 R2 ENTERPRISE
      AMD OPTERON(TM) PROCESSOR 6136 2.4 GHZ (2 PROCESSORS)
      4.0 GB RAM
      64-BIT OPERATION SYSTEM
      WEBSPHERE APPLICATION SERVER 8.5.5
    • Similar Issues:

      Description

      Currently the list-jobs prints out the "Display Name" in the advanced option configuration of the job. However other commands such as get-job requires the "Project Name". Can the commands be either changed to accept either of these names or have parameters on the list-jobs to select which name to print out. get-job submits an error while using the "Display Name" which states the project name in it. For example if the "Display Name" is "My Build" and project name is "MY_BUILD" if you do get-job "My Build" it gives you the error "No such job 'My Build'; perhaps you meant 'MY_BUILD'?

        Attachments

          Issue Links

            Activity

            bcoveny Bruce Coveny created issue -
            Hide
            danielbeck Daniel Beck added a comment -

            Ugh. Yeah, we changed that a while back because it was stupid for the reason you mentioned, decided to write a new 'list-items' command, that stalled, and we still have the weird behavior.

            I'll submit a PR.

            Show
            danielbeck Daniel Beck added a comment - Ugh. Yeah, we changed that a while back because it was stupid for the reason you mentioned, decided to write a new 'list-items' command, that stalled, and we still have the weird behavior. I'll submit a PR.
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Assignee Daniel Beck [ danielbeck ]
            danielbeck Daniel Beck made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            danielbeck Daniel Beck added a comment -
            Show
            danielbeck Daniel Beck added a comment - Proposed solution in https://github.com/jenkinsci/jenkins/pull/1497
            danielbeck Daniel Beck made changes -
            Remote Link This issue links to "PR 1497 (Web Link)" [ 11933 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/java/hudson/cli/ListJobsCommand.java
            http://jenkins-ci.org/commit/jenkins/2647af48c81e17ea17bfb144bf804abea22530fe
            Log:
            [FIXED JENKINS-25338] Show job name rather than display name in CLI

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/java/hudson/cli/ListJobsCommand.java http://jenkins-ci.org/commit/jenkins/2647af48c81e17ea17bfb144bf804abea22530fe Log: [FIXED JENKINS-25338] Show job name rather than display name in CLI
            scm_issue_link SCM/JIRA link daemon made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/cli/ListJobsCommand.java
            http://jenkins-ci.org/commit/jenkins/8e5199e377c748907b823bdcbbbda223e3e43c80
            Log:
            JENKINS-25338 Noting merge of #1497.

            Compare: https://github.com/jenkinsci/jenkins/compare/b33b921dc5d4...8e5199e377c7

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/cli/ListJobsCommand.java http://jenkins-ci.org/commit/jenkins/8e5199e377c748907b823bdcbbbda223e3e43c80 Log: JENKINS-25338 Noting merge of #1497. Compare: https://github.com/jenkinsci/jenkins/compare/b33b921dc5d4...8e5199e377c7
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3924
            [FIXED JENKINS-25338] Show job name rather than display name in CLI (Revision 2647af48c81e17ea17bfb144bf804abea22530fe)

            Result = SUCCESS
            daniel-beck : 2647af48c81e17ea17bfb144bf804abea22530fe
            Files :

            • core/src/main/java/hudson/cli/ListJobsCommand.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3924 [FIXED JENKINS-25338] Show job name rather than display name in CLI (Revision 2647af48c81e17ea17bfb144bf804abea22530fe) Result = SUCCESS daniel-beck : 2647af48c81e17ea17bfb144bf804abea22530fe Files : core/src/main/java/hudson/cli/ListJobsCommand.java
            danielbeck Daniel Beck made changes -
            Labels lts-candidate
            danielbeck Daniel Beck made changes -
            Labels lts-candidate
            bcoveny Bruce Coveny made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159258 ] JNJira + In-Review [ 208169 ]

              People

              Assignee:
              danielbeck Daniel Beck
              Reporter:
              bcoveny Bruce Coveny
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: