Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5563

Ability to enable/disable debug output of shell commands

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • core
    • None
    • Hudson 1.344, Java 1.5

      It would be nice to have an option to enable/disable output of executed shell commands .

      Output of shell commands is being made before every command is executed (by assigning an ++ at the beginning of line), this is indeed usefull when we are trying to troubleshooting something, but it would be usefull to turn it off afterwards, so the log doesn't become to clutter with information that can be irrelevant.
      This feature would clean up the log and only show exactly the build related information.
      This should also affect every build plugin that can be used in a job (maven, ant, shell, etc.), where commands should stop being seen in logs.

      It could be a check option called "Output shell commands" as an example, below every "Execute Shell"-> "Command" text editing field.

      Thanks in advance.

            Unassigned Unassigned
            hmonteiro hmonteiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: