• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cli
    • None

      Could you add an verbose option to the cli?

      For example when using the cli to run other build it would be nice if the cli would return that it actually does something.

          [JENKINS-7566] Could you add a verbose option to cli

          Oleg Nenashev added a comment -

          The request is unclear and outdated.
          "CLI build" provides various options to get the build progress and the console output.

          Oleg Nenashev added a comment - The request is unclear and outdated. "CLI build" provides various options to get the build progress and the console output.

          Alex Lehmann added a comment -

          That is entirely not what I meant, Jenkins provides a CLI command interface client that can be used to trigger operations from a shell script or manually on the command line

          https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI

          Alex Lehmann added a comment - That is entirely not what I meant, Jenkins provides a CLI command interface client that can be used to trigger operations from a shell script or manually on the command line https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI

          Oleg Nenashev added a comment -

          As I've mentioned previously, the "build" command in CLI provides the execution track if you specify proper options. I suppose it resolved your example case.

          What particular info would you like to get in such "verbose" mode?

          Oleg Nenashev added a comment - As I've mentioned previously, the "build" command in CLI provides the execution track if you specify proper options. I suppose it resolved your example case. What particular info would you like to get in such "verbose" mode?

          Alex Lehmann added a comment - - edited

          Sorry, I meant that an option should show what the cli is accessing before it is reading the build log or similar things.

          I think what me confused when I wrote the issue was that the cli doesn't say anything when it starts a build or even when it fails. Currently, failures are reported (connection refused etc), so that is good. I'm not sure if you consider it useful to add a option to reporting something like (starting job foo) when build without -f is giving or similar. When waiting for start of the job, a message that it is waiting would be nice.

          If you do not consider this relevant, you can close the issue.

          Alex Lehmann added a comment - - edited Sorry, I meant that an option should show what the cli is accessing before it is reading the build log or similar things. I think what me confused when I wrote the issue was that the cli doesn't say anything when it starts a build or even when it fails. Currently, failures are reported (connection refused etc), so that is good. I'm not sure if you consider it useful to add a option to reporting something like (starting job foo) when build without -f is giving or similar. When waiting for start of the job, a message that it is waiting would be nice. If you do not consider this relevant, you can close the issue.

            Unassigned Unassigned
            alexlehm Alex Lehmann
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: