option = { my_name: 'Auto Submit Robot', my_email: 'autosubmit@localhost',
- lab: 'autosubmit'
- lab: `awk '/^lab:\s/ {print $2; exit}' /etc/compass-ci/defaults/*.yaml`.chomp
better avoid use linux command in ruby script, you can optimize it as:
you can use YAML.load_file to get the key/values as a hash
Thanks, Luan Shengde
}
# fix verification problems when submit jobs by auto-submit service
2.23.0