Jenkins compile only archive first level of binaries

This commit is contained in:
Daniel Agar 2018-12-02 12:59:35 -05:00
parent 99c225dda2
commit b7b5b89969

View File

@ -179,7 +179,7 @@ def createBuildNode(Boolean archive, String docker_image, String target) {
sh('ccache -s')
sh('make sizes')
if (archive) {
archiveArtifacts(allowEmptyArchive: false, artifacts: 'build/**/*.px4, build/**/*.elf, build/**/*.bin', fingerprint: true, onlyIfSuccessful: true)
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)