![Willem Melching](/assets/img/avatar_default.png)
* Added Jenkinsfile * Added Jenkinsfile * Added Jenkinsfile * change order * sudo * whoami? * Added Jenkinsfile * install git * Untested build scripts * Add lockable resource * Fix syntax * Only one stage * fix target dir * Use deploy key * noqa on test_openpilot * Fix version.h path * Cleanup release files * Add linter scripts to release * Update jenkinsfile * Fix path * this should work * Use python3 docker container * Run in correct directory * Setup /data/pythonpath Co-authored-by: commaci-public <60409688+commaci-public@users.noreply.github.com>
24 lines
474 B
Groovy
24 lines
474 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'python:3.7.3'
|
|
args '--user=root'
|
|
}
|
|
|
|
}
|
|
stages {
|
|
stage('EON 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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|