jenkins: reduce timeout to 20 minutes

old-commit-hash: ef7ece408a
taco
Adeeb Shihadeh 3 years ago
parent fdf13d565b
commit 009a62912e
  1. 4
      Jenkinsfile

4
Jenkinsfile vendored

@ -30,7 +30,7 @@ END"""
def phone_steps(String device_type, steps) { def phone_steps(String device_type, steps) {
lock(resource: "", label: device_type, inversePrecedence: true, variable: 'device_ip', quantity: 1) { lock(resource: "", label: device_type, inversePrecedence: true, variable: 'device_ip', quantity: 1) {
timeout(time: 60, unit: 'MINUTES') { timeout(time: 20, unit: 'MINUTES') {
phone(device_ip, "git checkout", readFile("selfdrive/test/setup_device_ci.sh"),) phone(device_ip, "git checkout", readFile("selfdrive/test/setup_device_ci.sh"),)
steps.each { item -> steps.each { item ->
phone(device_ip, item[0], item[1]) phone(device_ip, item[0], item[1])
@ -46,7 +46,7 @@ pipeline {
SOURCE_DIR = "/data/openpilot_source/" SOURCE_DIR = "/data/openpilot_source/"
} }
options { options {
timeout(time: 4, unit: 'HOURS') timeout(time: 4, unit: 'HOURS')
} }
stages { stages {

Loading…
Cancel
Save