lib/evrone/ci/router/build.rb in evrone-ci-router-0.2.0.pre22 vs lib/evrone/ci/router/build.rb in evrone-ci-router-0.2.0.pre23

- old
+ new

@@ -25,19 +25,19 @@ def release output.close end - def to_perform_job_message(travis, job_id) - script_builder = travis.to_script_builder(self) + def to_perform_job_message(configuration, job_id) + script_builder = ScriptBuilder.new self, configuration job_message = Message::PerformJob.new( id: message.id, name: message.name, job_id: job_id, before_script: script_builder.to_before_script, script: script_builder.to_script, after_script: script_builder.to_after_script, - matrix_keys: travis.matrix_keys, + matrix_keys: configuration.matrix_keys, ) job_message end def to_build_status_message(status)