Jenkins build and archive all packages (#10332)

This commit is contained in:
Daniel Agar
2018-08-29 12:31:14 -04:00
committed by GitHub
parent 74785f75bd
commit 658b957888
2 changed files with 108 additions and 84 deletions

View File

@@ -206,6 +206,9 @@ def createBuildNode(Boolean archive, String docker_image, String target) {
if (archive) {
archiveArtifacts(allowEmptyArchive: false, artifacts: 'build/**/*.px4, build/**/*.elf, build/**/*.bin', fingerprint: true, onlyIfSuccessful: true)
}
sh('make ' + target + ' package')
archiveArtifacts(allowEmptyArchive: true, artifacts: 'build/*/*.tar.bz2', fingerprint: true, onlyIfSuccessful: true)
archiveArtifacts(allowEmptyArchive: true, artifacts: 'build/*/*.deb', fingerprint: true, onlyIfSuccessful: true)
}
catch (exc) {
throw (exc)