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

Print two lines to each line if use Timestamper and Color Ansi Console Output

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • timestamper-plugin
    • None
    • With last Jenkins stable version and last timestamper plugin

      Print two lines to each line if use Timestamper and Color Ansi Console Output

       

      In a job using:

      Add timestamps to the Console Output

      Color ANSI Console Output

       

      Then write big logs consisting in two lines by each line printed:

       
      11:09:24
      Running as SYSTEM
      11:09:24
      [EnvInject] - Loading node environment variables.
      11:09:24
       

          [JENKINS-60726] Print two lines to each line if use Timestamper and Color Ansi Console Output

          Basil Crow added a comment -

          Hey cesarjorgemartinez, PipelineTest#globalDecoratorAnnotator exercises the use case you have described with the Timestamper and AnsiColor plugins. That test fails to reproduce the issue. Can you please try upgrading to the latest versions of Timestamper and AnsiColor and see if your issue has been resolved? If not, could you please provide more information about how to reproduce this?

          Basil Crow added a comment - Hey cesarjorgemartinez , PipelineTest#globalDecoratorAnnotator exercises the use case you have described with the Timestamper and AnsiColor plugins. That test fails to reproduce the issue. Can you please try upgrading to the latest versions of Timestamper and AnsiColor and see if your issue has been resolved? If not, could you please provide more information about how to reproduce this?

          Yes, I now use all latest plugins with LTS jenkins version 2.222.3. Revising a bit, I use http://afonsof.com/jenkins-material-theme/. Maybe interfering this?

          Add resource to manage exclusion
               
          Add timestamps to the Console Output  (Checked)
          Ant/Ivy-Artifactory Integration  
          Color ANSI Console Output  (Checked using xterm)
            ANSI color map  

          Example output:
          15:49:44
          Started by user user
          15:49:44
          Running as SYSTEM
          15:49:44
          [EnvInject] - Loading node environment variables.
          15:49:44
          Building in workspace /var/lib/jenkins/jobs/job1/workspace
          15:49:44
          [WS-CLEANUP] Deleting project workspace...
          15:49:44
           
           ...

          Cesar Jorge Martínez added a comment - Yes, I now use all latest plugins with LTS jenkins version 2.222.3. Revising a bit, I use http://afonsof.com/jenkins-material-theme/. Maybe interfering this? Add resource to manage exclusion       Add timestamps to the Console Output  (Checked) Ant/Ivy-Artifactory Integration   Color ANSI Console Output  (Checked using xterm)   ANSI color map   Example output: 15:49:44 Started by user user 15:49:44 Running as SYSTEM 15:49:44 [EnvInject] - Loading node environment variables. 15:49:44 Building in workspace /var/lib/jenkins/jobs/job1/workspace 15:49:44 [WS-CLEANUP] Deleting project workspace... 15:49:44    ...

          Basil Crow added a comment -

          Hi cesarjorgemartinez, I set up a Jenkins master with Timestamper 1.11.3, AnsiColor 0.6.3, Simple Theme Plugin 0.6, and the Material Theme. Then I created a Freestyle job with "Add timestamps to the Console Output" and "Color ANSI Console Output" checked. When I ran the job I could not reproduce the issue. Can you please provide me with steps to reproduce the issue from scratch?

          Basil Crow added a comment - Hi cesarjorgemartinez , I set up a Jenkins master with Timestamper 1.11.3, AnsiColor 0.6.3, Simple Theme Plugin 0.6, and the Material Theme. Then I created a Freestyle job with "Add timestamps to the Console Output" and "Color ANSI Console Output" checked. When I ran the job I could not reproduce the issue. Can you please provide me with steps to reproduce the issue from scratch ?

            Unassigned Unassigned
            cesarjorgemartinez Cesar Jorge Martínez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: