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

Option to hide command in log

XMLWordPrintable

      When executing any command throught SSH I see this in the log:

      SSH: EXEC: STDOUT/STDERR from command [##
      # Some commands here
      if [ ! -f $bkpSh ]
      then
        echo "[ERROR] backup.sh does not exist!" 
        exit 1
      fi
      # ...
      ] ...
      

      I would like to be able to hide SSH command code. An option to hide code might be set per SSH command or even per Jenkins installation (in the main configuration).

      The problem is that I cannot easily use TextFinder (it will find "[ERROR]" no matter what the result is). This also clutters the log in most cases (or at least in my case).

            slide_o_mix Alex Earl
            nux Maciej Jaros
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: