From 22064c38d0a36b3ad96a673ee4cc94b19de5da94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Mon, 17 Apr 2023 21:25:39 +0200 Subject: [PATCH] fix pipeline --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1f8a45e..358d91f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,7 +32,7 @@ pipeline { sh 'vendor/bin/phpunit --log-junit unit_test_results.xml --testdox tests' } post { - success { + always { archiveArtifacts 'unit_test_results.xml' } } @@ -47,10 +47,10 @@ pipeline { } } steps { - sh 'php vendor/bin/phpstan analyse -c phpstan.neon --error-format=prettyJson > static_code_analysis_results.json' + sh 'php d memory_limit=1G vendor/bin/phpstan analyse -c phpstan.neon --error-format=prettyJson > static_code_analysis_results.json' } post { - success { + always { archiveArtifacts 'static_code_analysis_results.json' } }