reduce history
diff --git a/Jenkinsfile b/Jenkinsfile
index d36faae..fb53c84 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -28,6 +28,11 @@
 def buildMvn = 'Maven 3.5.2'
 def deploySettings = 'archiva-uid-jenkins'
 
+options {
+    disableConcurrentBuilds()
+    buildDiscarder(logRotator(numToKeepStr: '3', artifactNumToKeepStr: '2'))
+}
+
 node(labels) {
 
     cleanWs()