Compare commits

..

1 Commits

Author SHA1 Message Date
Dustin a8e35edd25 wip: ci: run in kubernetes
dustin/basementhud/pipeline/pr-master This commit looks good Details
dustin/basementhud/pipeline/head There was a failure building this commit Details
2022-11-27 17:34:34 -06:00
1 changed files with 6 additions and 15 deletions

11
ci/Jenkinsfile vendored
View File

@ -2,6 +2,7 @@ pipeline {
agent {
kubernetes {
yamlFile 'ci/podTemplate.yaml'
defaultContainer 'build'
}
}
@ -19,7 +20,6 @@ pipeline {
stages {
stage('Build') {
steps {
container('build') {
script {
if (params.Clean) {
sh 'rm -rf _build'
@ -32,13 +32,6 @@ pipeline {
sh 'install aarch64/mqttdpms overlay/usr/local/bin/'
sh 'make rootfs initramfs'
}
copyArtifacts \
filter: 'aarch64/mqttdpms',
projectName: '../mqttdpms/master',
selector: lastSuccessful()
sh 'install aarch64/mqttdpms overlay/usr/local/bin/'
sh 'make rootfs initramfs'
}
}
stage('Publish') {
@ -48,12 +41,10 @@ pipeline {
}
}
steps {
container('publish') {
sshagent(['jenkins-pxe']) {
sh 'make publish'
}
}
}
}
}
}