diff --git a/metricbeat/Jenkinsfile.yml b/metricbeat/Jenkinsfile.yml index 63bd5f51aef..a6e2f04c8e7 100644 --- a/metricbeat/Jenkinsfile.yml +++ b/metricbeat/Jenkinsfile.yml @@ -14,7 +14,7 @@ when: platform: "immutable && ubuntu-22" ## default label for all the stages stages: unitTest: - mage: "PYTHON_ENV=./venv-clean MAGEFILE_VERBOSE=1 mage build PythonVirtualEnv unitTest" + mage: "pip3 install pytest==7.3.2 && mage build unitTest" stage: mandatory goIntegTest: installK8s: true