diff options
author | Christoph Prokop <christoph.prokop@atos.net> | 2021-01-05 12:03:08 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-01-11 21:24:20 +0100 |
commit | 1cfb017369b5dcaaa2a7da6dc9b862f0bbe6d9c5 (patch) | |
tree | f1c6cb163d7e8a9df2fb6d1f65620aa030a4230c /src/job/runnable.rs | |
parent | cc8d3a7912203c90a6591e0d178c80f620bd61d0 (diff) |
Fix: Add environment from job definition
Signed-off-by: Christoph Prokop <christoph.prokop@atos.net>
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Christoph Prokop <christoph.prokop@atos.net>
Diffstat (limited to 'src/job/runnable.rs')
-rw-r--r-- | src/job/runnable.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/job/runnable.rs b/src/job/runnable.rs index 98f0bf9..051b592 100644 --- a/src/job/runnable.rs +++ b/src/job/runnable.rs @@ -67,6 +67,7 @@ impl RunnableJob { let (mut build, mut rt) = (build?, rt?); build.append(&mut rt); + build.extend(job.resources().iter().filter(|jr| jr.env().is_some()).cloned()); build }; |