The Docker Build Step plugin is the closest match I can find to what you are talking about. (It does not sound like it currently allows docker exec commands, but I think that would be a natural addition.) If made to implement SimpleBuildStep (merely newer core dep) it could be used as is from Workflow.

Or there could be dedicated workflow steps (workflow-step-api dep) if that is more helpful; for example a block-scoped step could be defined which uses LauncherDecorator to wrap all nested commands in docker exec.

The Docker plugin should already work with Workflow, but yes it assumes that the image has a JRE and SSHD since it runs the slave agent inside the image, rather than assuming a separate slave.

Change By: Jesse Glick (19/Dec/14 3:27 PM)
Summary: Docker integration Ability to run docker-exec etc. from a workflow
Priority: Minor Major
Labels: workflow
Assignee: Jesse Glick vjuranek
Component/s: docker-build-step-plugin
Component/s: workflow-plugin
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to