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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: timestamper-plugin
    • Labels:
      None
    • Environment:
      With last Jenkins stable version and last timestamper plugin
    • Similar Issues:

      Description

      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
       

        Attachments

          Activity

          Hide
          basil Basil Crow added a comment -

          Hey Cesar Jorge Martínez, 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?

          Show
          basil Basil Crow added a comment - Hey Cesar Jorge Martínez , 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?
          Hide
          cesarjorgemartinez 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
           
           ...

          Show
          cesarjorgemartinez 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    ...
          Hide
          basil Basil Crow added a comment -

          Hi Cesar Jorge Martínez, 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?

          Show
          basil Basil Crow added a comment - Hi Cesar Jorge Martínez , 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 ?

            People

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

              Dates

              Created:
              Updated: