Skip to content

Commit 86343a9

Browse files
Adding option to run in verbose (#4)
1 parent 4babc44 commit 86343a9

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ Default: `0`
6262

6363
Include the specified number of slowest tests in the annotation. The annotation will always be shown.
6464

65+
### `verbose` (optional)
66+
Default: `false`
67+
68+
Run in verbose mode.
69+
6570
## Developing
6671

6772
To test the plugin hooks (in Bash) and the junit parser (in Ruby):

hooks/post-command

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/bin/bash
22

33
set -euo pipefail
4+
if [[ "${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_LOCAL_VERBOSE:-false}" =~ (true|on|1) ]]; then
5+
echo "Will run verbose mode"
6+
set -x
7+
fi
8+
49

510
PLUGIN_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)/.."
611
MAX_SIZE=1024 # in KB

plugin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ configuration:
2424
type: integer
2525
append:
2626
type: boolean
27+
verbose:
28+
type: boolean
2729
required:
2830
- directory
2931
additionalProperties: false

0 commit comments

Comments
 (0)