Skip to content

Commit

Permalink
Revert "Add git safe directory as root when running packaging tests (#…
Browse files Browse the repository at this point in the history
…86812) (#86818)"

This reverts commit 5a45a88.
  • Loading branch information
mark-vieira committed May 17, 2022
1 parent a3fdbf7 commit 74b9607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/scripts/packaging-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sudo mkdir -p /elasticsearch/qa/ && sudo chown jenkins /elasticsearch/qa/ && ln

# Ensure since we're running as root that we can do git operations in this directory
# See: https://git-scm.com/docs/git-config/2.35.2#Documentation/git-config.txt-safedirectory
sudo git config --global --add safe.directory $WORKSPACE
git config --global --add safe.directory $WORKSPACE

# sudo sets it's own PATH thus we use env to override that and call sudo annother time so we keep the secure root PATH
# run with --continue to run both bats and java tests even if one fails
Expand Down

0 comments on commit 74b9607

Please sign in to comment.