echo
(
- nb_api_post_host_info "${NAME}.$name.name" "$name"
- nb_api_post_host_info "${NAME}.$name.path" "$repo"
- nb_api_post_host_info "${NAME}.$name.branch" "$branch"
- nb_api_post_host_info "${NAME}.$name.url" "$(git remote get-url origin)"
- nb_api_post_host_info "${NAME}.$name.exit_code" "$(git status --short &> /dev/null; echo $?)"
+ nb_api_post_host_info "${NAME}.$repo.name" "$name"
+ nb_api_post_host_info "${NAME}.$repo.path" "$repo"
+ nb_api_post_host_info "${NAME}.$repo.branch" "$branch"
+ nb_api_post_host_info "${NAME}.$repo.url" "$(git remote get-url origin)"
+ nb_api_post_host_info "${NAME}.$repo.exit_code" "$(git status --short &> /dev/null; echo $?)"
# NB 19.02.19 nb_api_post_host_info "${NAME}.$repo" "name:$name branch:$branch"
# NB 19.02.19 nb_api_post_host_info "${NAME}.$repo.git.status.exit_code" "$(git status --short &> /dev/null; echo $?)"
# NB 06.02.18 key="repo.$name.$branch"