Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision aa96fbab8fbda10d573f481cafa20f604a7ed257)
+++ Jenkinsfile	(revision 62f96ae7086cb4d998d48b3b2b4534d769a63aa6)
@@ -186,5 +186,5 @@
 		echo "Archiving core dumps"
 		dir (BuildDir) {
-			archiveArtifacts artifacts: "tests/crashes/**/*,lib/*", fingerprint: true
+			archiveArtifacts artifacts: "tests/crashes/**/*,lib/**/lib*.so*", fingerprint: true
 		}
 		throw err
@@ -447,5 +447,12 @@
 def prepare_build() {
 	// prepare the properties
+	properties([])
 	properties ([ 													\
+		buildDiscarder(logRotator(										\
+			artifactDaysToKeepStr: '',									\
+			artifactNumToKeepStr: '',									\
+			daysToKeepStr: '730',										\
+			numToKeepStr: '1000'										\
+		)),														\
 		[$class: 'ParametersDefinitionProperty', 								\
 			parameterDefinitions: [ 									\
