photoframe2/ci/Jenkinsfile

28 lines
592 B
Groovy

// vim: set sw=4 ts=4 sts=4 et :
pipeline {
agent {
kubernetes {
yamlFile 'ci/podTemplate.yaml'
defaultContainer 'build'
yamlMergeStrategy merge()
}
}
stages {
stage('Build') {
steps {
sh 'make -C aimee-os CONFIGDIR=${PWD} O=/build'
}
}
}
post {
success {
dir('/home/jenkins/agent/_build/images') {
sh 'zstd --rm sdcard.img & zstd --rm firmware.img & wait'
archiveArtifacts '*'
}
}
}
}