diff --git a/Jenkinsfile b/Jenkinsfile
index e6db94f8c..af9c084b6 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -130,14 +130,14 @@ pipeline {
                         sh 'docker-compose -f docker-compose.e2e.yml up e2e'
                     }
                 }
-                post {
-                    always {
-                        cleanDockerE2E()
-                        junit(
-                            testResults: 'junitresults.xml',
-                            allowEmptyResults: true
-                        )
-                    }
+            }
+            post {
+                always {
+                    cleanDockerE2E()
+                    junit(
+                        testResults: 'junitresults.xml',
+                        allowEmptyResults: true
+                    )
                 }
             }
         }