Jenkins ccache don't reset previous statistics (only print)

This commit is contained in:
Daniel Agar 2019-11-28 18:37:20 -05:00 committed by GitHub
parent fda7d71d16
commit e1af47f4ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 25 additions and 25 deletions

View File

@ -15,7 +15,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_sitl_default'
sh 'make px4_sitl_default sitl_gazebo'

View File

@ -15,7 +15,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_sitl_default'
sh 'make px4_sitl_default sitl_gazebo'

View File

@ -148,7 +148,7 @@ def createTestNode(Map test_def) {
try {
sh('make distclean')
sh 'git fetch --tags'
sh('ccache -z')
sh('ccache -s')
sh('make px4_sitl_default')
sh('make px4_sitl_default sitl_gazebo')
sh('ccache -s')

View File

@ -122,7 +122,7 @@ def createBuildNode(Boolean archive, String docker_image, String target) {
checkout(scm)
sh('make distclean')
sh('git fetch --tags')
sh('ccache -z')
sh('ccache -s')
sh('make ' + target)
sh('ccache -s')
sh('make sizes')

View File

@ -19,7 +19,7 @@ pipeline {
sh 'export'
sh 'make distclean'
sh 'git fetch --tags'
sh 'ccache -z'
sh 'ccache -s'
sh 'make px4_sitl_default'
sh 'ccache -s'
}
@ -41,7 +41,7 @@ pipeline {
sh 'export'
sh 'make distclean'
sh 'git fetch --tags'
sh 'ccache -z'
sh 'ccache -s'
sh 'make px4_fmu-v5_default'
sh 'ccache -s'
}
@ -63,7 +63,7 @@ pipeline {
sh 'export'
sh 'make distclean'
sh 'git fetch --tags'
sh 'ccache -z'
sh 'ccache -s'
sh 'make tests'
sh 'ccache -s'
}

View File

@ -19,7 +19,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v2_test'
sh 'make sizes'
@ -89,7 +89,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v3_default'
sh 'make sizes'
@ -180,7 +180,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v4_default'
sh 'make sizes'
@ -270,7 +270,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v4pro_default'
sh 'make sizes'
@ -361,7 +361,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v5_default'
sh 'make sizes'
@ -452,7 +452,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v5x_default'
sh 'make sizes'
@ -543,7 +543,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make modalai_fc-v1_default'
sh 'make sizes'
@ -633,7 +633,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make holybro_durandal-v1_default'
sh 'make sizes'
@ -725,7 +725,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make holybro_durandal-v1_stackcheck'
sh 'make sizes'
@ -815,7 +815,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make nxp_fmuk66-v3_default'
sh 'make sizes'

View File

@ -11,7 +11,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'CCACHE_BASEDIR=${WORKSPACE} make emlid_navio2_native'
sh 'ccache -s'

View File

@ -11,7 +11,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'CCACHE_BASEDIR=${WORKSPACE} make eagle_default'
sh 'ccache -s'

12
Jenkinsfile vendored
View File

@ -104,7 +104,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v2_default'
sh 'make px4_fmu-v2_default bloaty_compileunits'
@ -137,7 +137,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v5_default'
sh 'make px4_fmu-v5_default bloaty_compileunits'
@ -170,7 +170,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_sitl_default'
sh 'make px4_sitl_default bloaty_compileunits'
@ -203,7 +203,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_fmu-v5_default'
sh 'make sizes'
@ -229,7 +229,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make px4_sitl_default'
sh 'make sizes'
@ -255,7 +255,7 @@ pipeline {
steps {
sh 'export'
sh 'make distclean'
sh 'ccache -z'
sh 'ccache -s'
sh 'git fetch --tags'
sh 'make tests'
sh 'ccache -s'