Ability to run Docker container in foreground mode (no detached)

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

XMLWordPrintable

      Currently we can only use Pipeline Docker Plugin to run container in detached mode.
      withRun(), run(), inside() methods add "-d" option in docker run command line.
      We should be able to run container in foreground mode (not detached).
      Currently we want to run CloudSlang flow through docker image and see the flow output in Jenkins:

      docker run --rm cloudslang/cloudslang run --f ../content/io/cloudslang/base/print/print_text.sl --i text=first_flow

      We are not able to see the output of the command since docker pipeline step is run in detached mode and exit when the CloudSlang flow terminate.

            Assignee:
            Antoine Duprat
            Reporter:
            Laurent TOURREAU
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: