mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-21 15:48:02 +00:00
35 lines
635 B
Groovy
35 lines
635 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building firmware.'
|
|
writeFile file: "firmware/config.h", text: "#define CALLSIGN \"TEST\""
|
|
dir("firmware") {
|
|
sh "make clean all"
|
|
}
|
|
}
|
|
}
|
|
stage('UART Test') {
|
|
steps {
|
|
dir("firmware") {
|
|
sh "make flash"
|
|
}
|
|
}
|
|
}
|
|
stage('SBW Test') {
|
|
steps {
|
|
dir("firmware") {
|
|
sh "make energytrace.txt"
|
|
}
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
}
|