bazarms / jobflow

A tool written in Go designed to execute a flow of jobs, which are themselves composed of tasks, as the same way of Ansible or some CI tools such as Travis, Gitlab or Circle.
GNU General Public License v3.0
2 stars 0 forks source link

[flow]: Add an attribute for flow structure to distinguish if execJobLocal() is performed on local or remote machine #48

Closed uthng closed 5 years ago

uthng commented 5 years ago

This new attribute OnRemote should help us to get job result while being executed on remote machine.If true, so print simply job result with fmt.Printf for ex. instead using log package in execJobLocal(). And the printed job result will be then gotten in execJobRemote() via SSH.