Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Embed Job to BuildResult type #39

Open
agis opened this issue Apr 18, 2018 · 1 comment
Open

Embed Job to BuildResult type #39

agis opened this issue Apr 18, 2018 · 1 comment
Assignees
Labels

Comments

@agis
Copy link
Contributor

agis commented Apr 18, 2018

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

@agis agis added the idea label Apr 18, 2018
@agis agis self-assigned this Sep 26, 2018
@agis agis added refactor and removed idea labels Sep 26, 2018
@agis
Copy link
Contributor Author

agis commented Sep 26, 2018

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().

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant