diff --git a/Jenkinsfile b/Jenkinsfile
index 0fd0c53289106af7afdb131be86d955744a9fa75..5908ec8ee16a7e52e2c16f36a20616bc490cc9df 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -352,7 +352,7 @@ pipeline {
                 excludeFile('.*\\.conan.*'), excludeFile('.*ThirdParty.*'),
                 excludeFile('.*thread.hpp')],
                 tools: [msBuild(name: 'MSVC', pattern: 'build/build.log')],
-                unstableTotalAll: 1
+                qualityGates: [[threshold: 10, type: 'TOTAL', unstable: true]]
             }
             success {
               archiveArtifacts 'build/*.zip,build/conaninfo.txt'