      ])
    }
  
    try {
      stage('git checkout') {
        checkout scm
      }
  
      if (env.BRANCH_NAME == 'devel-staging') {
        deviceStage("build release3-staging", "tici-needs-can", [
          ["build nightly", "RELEASE_BRANCH=nightly $SOURCE_DIR/release/build_release.sh"],
        ])
      }
 
</s> remove       deviceStage("build release3-staging", "tici-needs-can", [
        ["build nightly", "RELEASE_BRANCH=nightly $SOURCE_DIR/release/build_release.sh"],
 </s> add       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> 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     def dockerArgs = '--user=root -v /tmp/comma_download_cache:/tmp/comma_download_cache';
 </s> add     def dockerArgs = '--user=root -v /tmp/comma_download_cache:/tmp/comma_download_cache -v /tmp/scons_cache:/tmp/scons_cache'; </s> remove         deviceStage("tici", "tici-needs-can", [
 </s> add         deviceStage("onroad", "tici-needs-can", ["SKIP_COPY=1"], [ </s> remove         deviceStage("tici", "tici-loopback", [
 </s> add         deviceStage("tici", "tici-loopback", ["UNSAFE=1"], [
      ])
    }
  
    try {




      if (env.BRANCH_NAME == 'devel-staging') {
        deviceStage("build release3-staging", "tici-needs-can", [
          ["build nightly", "RELEASE_BRANCH=nightly $SOURCE_DIR/release/build_release.sh"],
        ])
      }
keep keep keep keep replace replace replace replace keep keep keep keep keep
 jenkins speedup (#29869)

* jenkins speedup

* cleanup 
Jenkinsfile