Jenkinsfile docker logs not returns as expected

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I have a jenkinsfile in which i run the docker container in detached mode in which tests are running. And then in the next stage i do docker logs --follow <conatiner name> in sh(BourneShellScript.java). Some of the tests takes a long time (around 1 hour) to complete so there would be no log for that time period.But after an hour when there are logs in container even then there is no logs in jenkins-log.txt which need to be copied. It run till the point where the long running tests starts.

      I did some logging enabled and it tells me that process is still alive, but then there is no new lines in jenkins-log.txt file

            Assignee:
            Unassigned
            Reporter:
            vikas thakur
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: