jenkins fixups

old-commit-hash: 5f66a9a6213f6c42161584979a2f760f9ad9df47
This commit is contained in:
Adeeb Shihadeh
2023-01-10 16:20:27 -08:00
parent f941060caa
commit a4af0fca74
3 changed files with 5 additions and 3 deletions

3
Jenkinsfile vendored
View File

@@ -90,7 +90,8 @@ pipeline {
}
}
steps {
sh "git config --global --add safe.directory ${WORKSPACE}"
sh "git config --global --add safe.directory '*'"
sh "git submodule update --init --recursive"
sh "git lfs pull"
lock(resource: "", label: "simulator", inversePrecedence: true, quantity: 1) {
sh "${WORKSPACE}/tools/sim/build_container.sh"

View File

@@ -223,7 +223,7 @@ if __name__ == "__main__":
try:
expected_msgs = 2*MAX_FRAMES
if not NO_NAV:
expected_msgs += NAV_FRAMES*2
expected_msgs += NAV_FRAMES*3
cmp_log = list(LogReader(BASE_URL + log_fn))[:expected_msgs]
ignore = [

View File

@@ -56,7 +56,7 @@ cd $SOURCE_DIR
rm -f .git/index.lock
git reset --hard
git fetch --verbose origin $GIT_COMMIT
git fetch --no-tags --no-recurse-submodules -j4 --verbose --depth 1 origin $GIT_COMMIT
find . -maxdepth 1 -not -path './.git' -not -name '.' -not -name '..' -exec rm -rf '{}' \;
git reset --hard $GIT_COMMIT
git checkout $GIT_COMMIT
@@ -69,6 +69,7 @@ git lfs pull
(ulimit -n 65535 && git lfs prune)
echo "git checkout done, t=$SECONDS"
du -hs $SOURCE_DIR $SOURCE_DIR/.git
rsync -a --delete $SOURCE_DIR $TEST_DIR