mistry icon indicating copy to clipboard operation
mistry copied to clipboard

Embed Job to BuildResult type

Open agis opened this issue 8 years ago • 1 comments

We already added the job params inside BuildResult{} so it might make sense to add the whole job.

agis avatar Apr 18 '18 09:04 agis

To do this, we have to:

  1. extract any server-aware methods from Job into Server or something (to decouple Server from Job)
  2. extract the job type to a package

We should also probably make NewBuildResult accept a job as a parameter, so that we don't have to do the construction in Work().

agis avatar Sep 26 '18 14:09 agis