Compare commits

..

1 Commits

Author SHA1 Message Date
a8e35edd25 wip: ci: run in kubernetes
Some checks failed
dustin/basementhud/pipeline/pr-master This commit looks good
dustin/basementhud/pipeline/head There was a failure building this commit
2022-11-27 17:34:34 -06:00

21
ci/Jenkinsfile vendored
View File

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