Skip to content

Commit 906eeb6

Browse files
authored
Merge pull request #258 from buildkite-plugins/sup-3930-junit-plugin-257-permission-denied-error-on-srcbinannotate
Fix permission denied error in container on SELinux systems
2 parents aa2fc74 + 5fecdfd commit 906eeb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hooks/command

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ if [[ "${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_RUN_IN_DOCKER:-true}" =~ "true" ]]; the
4747
--log-level "error" \
4848
run \
4949
--rm \
50-
--volume "$artifacts_dir:/junits" \
51-
--volume "$PLUGIN_DIR/ruby:/src" \
50+
--volume "$artifacts_dir:/junits:Z" \
51+
--volume "$PLUGIN_DIR/ruby:/src:Z" \
5252
--env "BUILDKITE_PLUGIN_JUNIT_ANNOTATE_JOB_UUID_FILE_PATTERN=${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_JOB_UUID_FILE_PATTERN:-}" \
5353
--env "BUILDKITE_PLUGIN_JUNIT_ANNOTATE_FAILURE_FORMAT=${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_FAILURE_FORMAT:-}" \
5454
--env "BUILDKITE_PLUGIN_JUNIT_ANNOTATE_REPORT_SLOWEST=${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_REPORT_SLOWEST:-}" \

0 commit comments

Comments
 (0)