jenkins fixups

old-commit-hash: 5f66a9a621
beeps
Adeeb Shihadeh 2 years ago
parent f941060caa
commit a4af0fca74
  1. 3
      Jenkinsfile
  2. 2
      selfdrive/test/process_replay/model_replay.py
  3. 3
      selfdrive/test/setup_device_ci.sh

3
Jenkinsfile vendored

@ -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"

@ -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 = [

@ -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

Loading…
Cancel
Save