[JIRA] Created: (HUDSON-5563) Ability to enable/disable debug output of shell commands

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-5563) Ability to enable/disable debug output of shell commands

Hudson issues mailing list
Ability to enable/disable debug output of shell commands
--------------------------------------------------------

                 Key: HUDSON-5563
                 URL: http://issues.hudson-ci.org/browse/HUDSON-5563
             Project: Hudson
          Issue Type: New Feature
          Components: core
    Affects Versions: current
         Environment: Hudson 1.344, Java 1.5
            Reporter: hmonteiro
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5563) Ability to enable/disable debug output of shell commands

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135780#action_135780 ]

mindless commented on HUDSON-5563:
----------------------------------

Put your own #! line at the top of your script to override the default ("#!/bin/sh -ve" I think).

> Ability to enable/disable debug output of shell commands
> --------------------------------------------------------
>
>                 Key: HUDSON-5563
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5563
>             Project: Hudson
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: current
>         Environment: Hudson 1.344, Java 1.5
>            Reporter: hmonteiro
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-5563) Ability to enable/disable debug output of shell commands

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-5563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kohsuke resolved HUDSON-5563.
-----------------------------

    Resolution: Cannot Reproduce

Yep. Just set your own #!. Marking as closed.

> Ability to enable/disable debug output of shell commands
> --------------------------------------------------------
>
>                 Key: HUDSON-5563
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5563
>             Project: Hudson
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: current
>         Environment: Hudson 1.344, Java 1.5
>            Reporter: hmonteiro
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-5563) Ability to enable/disable debug output of shell commands

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-5563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=136290#action_136290 ]

hmonteiro commented on HUDSON-5563:
-----------------------------------

It works, thanks!

> Ability to enable/disable debug output of shell commands
> --------------------------------------------------------
>
>                 Key: HUDSON-5563
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-5563
>             Project: Hudson
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: current
>         Environment: Hudson 1.344, Java 1.5
>            Reporter: hmonteiro
>            Priority: Minor
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]