From a1913d771322d8658f41c4d0515d80577464faa2 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 19 Feb 2019 03:15:36 +0000 Subject: [PATCH] bin/nb-update --- bin/nb-update | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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" -- 2.47.3