mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 01:22:26 -04:00
Fix BWC checkouts when running packaging tests (#86767)
This commit is contained in:
parent
3649baf088
commit
5ed175b97d
1 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,10 @@ sudo chmod 0440 /etc/sudoers.d/elasticsearch_vars
|
||||||
sudo rm -Rf /elasticsearch
|
sudo rm -Rf /elasticsearch
|
||||||
sudo mkdir -p /elasticsearch/qa/ && sudo chown jenkins /elasticsearch/qa/ && ln -s $PWD/qa/vagrant /elasticsearch/qa/
|
sudo mkdir -p /elasticsearch/qa/ && sudo chown jenkins /elasticsearch/qa/ && ln -s $PWD/qa/vagrant /elasticsearch/qa/
|
||||||
|
|
||||||
|
# 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
|
||||||
|
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
|
# 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
|
# run with --continue to run both bats and java tests even if one fails
|
||||||
# be explicit about Gradle home dir so we use the same even with sudo
|
# be explicit about Gradle home dir so we use the same even with sudo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue