Compare commits
1 Commits
75e9a41420
...
a8e35edd25
Author | SHA1 | Date |
---|---|---|
|
a8e35edd25 |
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue