You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|