goodwatch/Jenkinsfile

35 lines
635 B
Plaintext
Raw Normal View History

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....'
}
}
}
}