From: Nicolas Boisselier Date: Tue, 19 Feb 2019 03:15:36 +0000 (+0000) Subject: bin/nb-update X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=a1913d771322d8658f41c4d0515d80577464faa2;p=nb.git bin/nb-update --- diff --git a/bin/nb-update b/bin/nb-update index b907e7d5..ad5d8295 100755 --- a/bin/nb-update +++ b/bin/nb-update @@ -116,8 +116,13 @@ for repo in $(nb_repos); do echo ( - nb_api_post_host_info "${NAME}.$repo" "name:$name branch:$branch" - nb_api_post_host_info "${NAME}.$repo.git.status.exit_code" "$(git status --short &> /dev/null; 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 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" # NB 06.02.18 nb_api_post_host_info "${key}.path" "$repo" # NB 06.02.18 nb_api_post_host_info "${key}.exit_code" "$ex"