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

Should docker.withServer lead to pipeline log including used docker host?

XMLWordPrintable

      In case of using "docker.withServer" in Jenkins pipeline the pipeline log in BlueOcean appears as if there was no "docker.withServer" at all, while in classic UI there is at least a hint on the usage of a docker server:

      [Pipeline] withDockerServer
      [Pipeline] {
      [Pipeline] sh
      + docker run -d -P -v /dev/shm:/dev/shm --name jenkins2-selenium-node-chrome-908  acme/selenium-standalone-chrome:71
      [Pipeline] dockerFingerprintRun
      [Pipeline] sh
      + docker port a5665d29809712ec43a167c75173ba5e41dc333c98c3fa3359340206812818c0 4444
      

      Would it be good to log something for the sake of easier tracibility!?

      • Maybe in classic UI log the used docker server:
        [Pipeline] withDockerServer mydocker.acme.com
        
      • What about Blue Ocean pipeline view/log?

            Unassigned Unassigned
            reinholdfuereder Reinhold Füreder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: