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

Docker build step does not properly format output

XMLWordPrintable

    • 2.3

      After upgrading Jenkins and the Docker build step plugin to the latest version, the output presented in the console log has a lot of garbage in it. Example text below:

       

      Docker] INFO: BuildResponseItem[stream=Step 1/11 : FROM ruby:2.3.3
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: BuildResponseItem[stream= ---> e61934e8d871
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: BuildResponseItem[stream=Step 2/11 : RUN apt-get update -qq && apt-get install -y build-essential libmysqlclient-dev nodejs imagemagick && apt-get clean && rm -rf /var/lib/apt/lists/*
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: BuildResponseItem[stream= ---> Using cache
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: BuildResponseItem[stream= ---> f9c752bec7be
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: BuildResponseItem[stream=Step 3/11 : RUN echo America/New_York > /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: BuildResponseItem[stream= ---> Using cache
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: BuildResponseItem[stream= ---> 60052b9487a2
      ,status=<null>,progressDetail=<null>,progress=<null>,id=<null>,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]

      This also appears in the logs for pushing:

      [Docker] INFO: PushResponseItem[stream=<null>,status=Pushing,progressDetail=ResponseItem.ProgressDetail[current=130428561,total=240472754,start=<null>],progress=[===========================> ] 130.4MB/240.5MB,id=1dc1a0a1937a,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: PushResponseItem[stream=<null>,status=Pushing,progressDetail=ResponseItem.ProgressDetail[current=132014642,total=240472754,start=<null>],progress=[===========================> ] 132MB/240.5MB,id=1dc1a0a1937a,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: PushResponseItem[stream=<null>,status=Pushing,progressDetail=ResponseItem.ProgressDetail[current=133590247,total=240472754,start=<null>],progress=[===========================> ] 133.6MB/240.5MB,id=1dc1a0a1937a,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]
      [Docker] INFO: PushResponseItem[stream=<null>,status=Pushing,progressDetail=ResponseItem.ProgressDetail[current=135165405,total=240472754,start=<null>],progress=[============================> ] 135.2MB/240.5MB,id=1dc1a0a1937a,from=<null>,time=<null>,errorDetail=<null>,error=<null>,aux=<null>]

            vjuranek vjuranek
            jmetzmeier Jordan Metzmeier
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: