ci: Begin Jenkins build pipeline
All checks were successful
dustin/photoframe2/pipeline/head This commit looks good
All checks were successful
dustin/photoframe2/pipeline/head This commit looks good
This commit is contained in:
27
ci/Jenkinsfile
vendored
Normal file
27
ci/Jenkinsfile
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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 '*'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user