mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
Jenkins compile only archive first level of binaries
This commit is contained in:
@@ -179,7 +179,7 @@ def createBuildNode(Boolean archive, String docker_image, String target) {
|
|||||||
sh('ccache -s')
|
sh('ccache -s')
|
||||||
sh('make sizes')
|
sh('make sizes')
|
||||||
if (archive) {
|
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')
|
sh('make ' + target + ' package')
|
||||||
archiveArtifacts(allowEmptyArchive: true, artifacts: 'build/*/*.tar.bz2', fingerprint: true, onlyIfSuccessful: true)
|
archiveArtifacts(allowEmptyArchive: true, artifacts: 'build/*/*.tar.bz2', fingerprint: true, onlyIfSuccessful: true)
|
||||||
|
|||||||
Reference in New Issue
Block a user