rafecolton / docker-builder

Docker builder builds Docker images from a friendly config file.
MIT License
80 stars 11 forks source link

Allow Synchronous HTTP Requests #67

Closed rafecolton closed 10 years ago

rafecolton commented 10 years ago

Ala https://github.com/modcloth/docker-builder/blob/webhook-refactor/webhook/webhook.go#L61

colegleason commented 10 years ago

Is this essentially long-polling? Just trying to figure out how to avoid timeouts here.

rafecolton commented 10 years ago

Basically, yeah. job.Process() returns after the build & tag steps (but before the push steps), so that's when you'd get your return value.

colegleason commented 10 years ago

@rafecolton Trying to integrate docker-builder into a Jenkins workflow and I need this. Started work at #72.

rafecolton commented 10 years ago

:thumbsup: