      if (!env.BRANCH_NAME.matches(excludeRegex)) {
      parallel (
        // tici tests
        'onroad tests': {
          deviceStage("tici", "tici-needs-can", [
            ["build master-ci", "cd $SOURCE_DIR/release && TARGET_DIR=$TEST_DIR ./build_devel.sh"],
            ["build openpilot", "cd selfdrive/manager && ./build.py"],
            ["check dirty", "release/check-dirty.sh"],
            ["onroad tests", "cd selfdrive/test/ && ./test_onroad.py"],
            ["time to onroad", "cd selfdrive/test/ && pytest test_time_to_onroad.py"],
 
</s> remove         deviceStage("tici", "tici-common", [
 </s> add         deviceStage("tici", "tici-common", ["UNSAFE=1"], [ </s> remove       deviceStage("build release3-staging", "tici-needs-can", [
        ["build release3-staging & dashcam3-staging", "RELEASE_BRANCH=release3-staging DASHCAM_BRANCH=dashcam3-staging $SOURCE_DIR/release/build_release.sh"],
 </s> add       deviceStage("build nightly", "tici-needs-can", [], [
        ["build nightly", "RELEASE_BRANCH=nightly $SOURCE_DIR/release/build_release.sh"], </s> remove         deviceStage("tici", "tici-loopback", [
 </s> add         deviceStage("tici", "tici-loopback", ["UNSAFE=1"], [ </s> remove           sh "scons --clean && scons --no-cache --random -j42"

          // car tests
          sh "INTERNAL_SEG_CNT=500 INTERNAL_SEG_LIST=selfdrive/car/tests/test_models_segs.txt FILEREADER_CACHE=1 \
 </s> add           sh label: "test multi-threaded build", script: "scons --no-cache --random -j42"
        }
      },
      'car tests': {
        pcStage("car tests") {
          sh "scons -j30"
          sh label: "test_models.py", script: "INTERNAL_SEG_CNT=250 INTERNAL_SEG_LIST=selfdrive/car/tests/test_models_segs.txt FILEREADER_CACHE=1 \ </s> remove         deviceStage("tici", "tici-replay", [
 </s> add         deviceStage("tici", "tici-replay", ["UNSAFE=1"], [
        deviceStage("onroad", "tici-needs-can", ["SKIP_COPY=1"], [
      if (!env.BRANCH_NAME.matches(excludeRegex)) {
      parallel (
        // tici tests
        'onroad tests': {
        deviceStage("onroad", "tici-needs-can", ["SKIP_COPY=1"], [
            ["build master-ci", "cd $SOURCE_DIR/release && TARGET_DIR=$TEST_DIR ./build_devel.sh"],
            ["build openpilot", "cd selfdrive/manager && ./build.py"],
            ["check dirty", "release/check-dirty.sh"],
            ["onroad tests", "cd selfdrive/test/ && ./test_onroad.py"],
            ["time to onroad", "cd selfdrive/test/ && pytest test_time_to_onroad.py"],
keep keep keep keep replace keep keep keep keep keep
 jenkins speedup (#29869)

* jenkins speedup

* cleanup 
Jenkinsfile