Update jenkins build badge link
change loop to thread-wait