diff --git a/buildconfig/Jenkins/pylint-buildscript b/buildconfig/Jenkins/pylint-buildscript index 873c509c539f286a81ef4d5dc899cf84b45c7b44..eb7152d239f1e9d0184bc237c62f1018c9d19aa2 100755 --- a/buildconfig/Jenkins/pylint-buildscript +++ b/buildconfig/Jenkins/pylint-buildscript @@ -8,11 +8,6 @@ if [ -z "$BUILD_DIR" ]; then exit 1 fi -############################################################################### -# Purge old logs -############################################################################### -rm -f $BUILD_DIR/pylint/PYLINT-* - ############################################################################### # Check if python files have changed ############################################################################### @@ -26,6 +21,11 @@ then fi echo "running pylint" +############################################################################### +# Purge old logs +############################################################################### +rm -f $BUILD_DIR/pylint/PYLINT-* + ############################################################################### # Print out the versions of things we are using ###############################################################################