Add errcheck to Jenkins pipeline (#4215)
Add errcheck to Jenkins pipeline (#4215)

* Add errcheck to Jenkins pipeline

Re-enable Go cache, add clean step

Clean go cache at end

Report each stage via GitHub statuses

use unstable builtin

Improve timing of GitHub build statuses around tests

Make SCM stage run before pulling Go tools

Use test -z for errcheck output

Fix counts in GH statuses

Remove bc dependency

Report test numbers

Shortened GH status messages

tidy awk

Fix mixed up CE/EE test counts

* Make errcheck not fail the build (until CBG-492)

ceejatec/sync_gateway,ceejatec/sync_gateway,couchbaselabs/sync_gateway,ceejatec/sync_gateway,couchbaselabs/sync_gateway,couchbaselabs/sync_gateway,ceejatec/sync_gateway,couchbaselabs/sync_gateway