mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-20 09:03:55 +08:00
* kind of works * move that * hack to get camerad to reliably terminate * not sure why SIGTERM wasn't working before * compare bytes * clean up some hacks * gitignore * fix that * WIP * no reboot * comparison works * pretty print * fix build * run in jenkins * python path * space * raise timeout * new eon * skip the copy * spinner * spin less * update model ref commit * reenable that * clean up * fix jenkinsfile * parallel * wrap it in a stage * fix linter * better progress * lower timeout Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
43 lines
1.0 KiB
Groovy
43 lines
1.0 KiB
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'python:3.7.3'
|
|
args '--user=root'
|
|
}
|
|
|
|
}
|
|
environment {
|
|
COMMA_JWT = credentials('athena-test-jwt')
|
|
}
|
|
stages {
|
|
stage('Device Tests') {
|
|
parallel {
|
|
stage('Build/Test') {
|
|
steps {
|
|
lock(resource: "", label: 'eon', inversePrecedence: true, variable: 'eon_name', quantity: 1){
|
|
timeout(time: 30, unit: 'MINUTES') {
|
|
dir(path: 'release') {
|
|
sh 'pip install paramiko'
|
|
sh 'python remote_build.py'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
stage('Replay Tests') {
|
|
steps {
|
|
lock(resource: "", label: 'eon2', inversePrecedence: true, variable: 'eon_name', quantity: 1){
|
|
timeout(time: 45, unit: 'MINUTES') {
|
|
dir(path: 'selfdrive/test') {
|
|
sh 'pip install paramiko'
|
|
sh 'python phone_ci.py'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|