Skip to content

Instantly share code, notes, and snippets.

@pmuir
Last active May 23, 2019 13:37
Show Gist options
  • Save pmuir/14470174431727784b67e3de78fd0a88 to your computer and use it in GitHub Desktop.
Save pmuir/14470174431727784b67e3de78fd0a88 to your computer and use it in GitHub Desktop.
✔ pmuir:jx [ cover-bdd ↓·3↑·2 | ✚ 5 …2 ⚑ 52 ] ➭ ./build/jx.covered -test.coverprofile=coverage.cov help --12
This is a covered JX binary. Run with -test.run="^TestRunMain$" -test.coverprofile=mycover.out to generate coverage
Stripped arguments: -test.coverprofile=coverage.cov
Arguments passed to `jx` are: ./build/jx.covered, help, --12
Error: unknown flag: --12
Usage:
jx help [command] [flags] [options]
Use "jx options" for a list of global command-line options (applies to all commands).
--- FAIL: TestSystem (0.01s)
jx_test.go:34:
Error Trace: jx_test.go:34
Error: Received unexpected error:
unknown flag: --12
Test: TestSystem
Messages: error executing jx
FAIL
coverage: 5.0% of statements in ./...
✘ pmuir:jx [ cover-bdd ↓·3↑·2 | ✚ 5 …2 ⚑ 52 ] ➭
✘ pmuir:jx [ cover-bdd ↓·3↑·2 | ✚ 5 …2 ⚑ 52 ] ➭ ./build/jx.covered -test.coverprofile=coverage.cov status
This is a covered JX binary. Run with -test.run="^TestRunMain$" -test.coverprofile=mycover.out to generate coverage
Stripped arguments: -test.coverprofile=coverage.cov
Arguments passed to `jx` are: ./build/jx.covered, status
Jenkins X checks passed for Cluster(gke_jenkins-x-infra_europe-west1-c_jx-bdd-tests): 13 nodes, memory 30% of 75115800Ki, cpu 76% of 25090m.
PASS
coverage: 5.3% of statements in ./...
✔ pmuir:jx [ cover-bdd ↓·3↑·2 | ✚ 5 …2 ⚑ 52 ] ➭
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment