File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,17 +30,17 @@ buildkite-agent artifact download \
30
30
echo " --- :junit: Processing the junits"
31
31
32
32
# Move ruby code to current dir so we can mount it
33
- plugin_ruby_dir =" $( cd " $( dirname " $ {BASH_SOURCE[0]} " ) /../ruby" && pwd ) "
34
- ruby_dir =" $( pwd ) / $( mktemp -d " junit- annotate-plugin-ruby-tmp.XXXXXXXXXX " ) "
35
- cp -R " ${plugin_ruby_dir } " " ${ruby_dir } "
33
+ annotate_src =" ${BASH_SOURCE%/* } /../ruby/bin/annotate "
34
+ annotate_path =" ${PWD} /.buildkite/bin/ annotate-tests "
35
+ cp -a " ${annotate_src } " " ${annotate_path } "
36
36
37
37
docker \
38
38
--log-level " error" \
39
39
run \
40
40
--rm \
41
+ --volume " ${annotate_path} :/usr/local/bin/anotate-tests" \
41
42
--volume " ${artifacts_dir} :/junits" \
42
- --volume " ${ruby_dir} /ruby:/src" \
43
- ruby:2.7-alpine ruby /src/bin/annotate /junits \
43
+ ruby:2.7-alpine ruby /usr/local/bin/anotate-tests /junits \
44
44
> " $annotation_path "
45
45
46
46
cat " $annotation_path "
You can’t perform that action at this time.
0 commit comments