From dffb4f23b392ddf24724da68aa82fe388f27f396 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 22 Mar 2018 13:42:24 -0400 Subject: [PATCH] Jenkins add px4fmu bloaty comparison to last successful master build (#9142) --- Jenkinsfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 52483f8a13..105ca424de 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,8 +23,11 @@ pipeline { sh "ccache -z" sh "git fetch --tags" sh "make nuttx_${node_name}_default" - sh "bloaty -n 100 -d symbols -s file `find . -name *.elf`" - sh "bloaty -n 100 -d compileunits -s file `find . -name *.elf`" + // bloaty output and compare with last successful master + sh "bloaty -n 100 -d symbols -s file build/nuttx_${node_name}_default/nuttx_${node_name}_default.elf" + sh "bloaty -n 100 -d compileunits -s file build/nuttx_${node_name}_default/nuttx_${node_name}_default.elf" + sh "wget --no-verbose -N https://s3.amazonaws.com/px4-travis/Firmware/master/nuttx_${node_name}_default.elf" + sh "bloaty -d symbols -C full -s file build/nuttx_${node_name}_default/nuttx_${node_name}_default.elf -- nuttx_${node_name}_default.elf" sh "make nuttx_${node_name}_rtps" sh "make sizes" sh "ccache -s" @@ -51,8 +54,11 @@ pipeline { sh "git fetch --tags" sh "make px4io-v2_default" sh "make nuttx_px4fmu-v2_default" - sh "bloaty -n 100 -d symbols -s file `find . -name *.elf`" - sh "bloaty -n 100 -d compileunits -s file `find . -name *.elf`" + // bloaty output and compare with last successful master + sh "bloaty -n 100 -d symbols -s file build/nuttx_px4fmu-v2_default/nuttx_px4fmu-v2_default.elf" + sh "bloaty -n 100 -d compileunits -s file build/nuttx_px4fmu-v2_default/nuttx_px4fmu-v2_default.elf" + sh "wget --no-verbose -N https://s3.amazonaws.com/px4-travis/Firmware/master/nuttx_px4fmu-v2_default.elf" + sh "bloaty -d symbols -C full -s file build/nuttx_px4fmu-v2_default/nuttx_px4fmu-v2_default.elf -- nuttx_px4fmu-v2_default.elf" sh "make nuttx_px4fmu-v2_lpe" sh "make nuttx_px4fmu-v3_default" sh "make nuttx_px4fmu-v3_rtps"