Merge pull request 'fix archive in pipeline' (#10) from bugfix/fix-archive-in-pipeline into master
All checks were successful
soko-web/pipeline/head This commit looks good

Reviewed-on: #10
This commit is contained in:
Bence Pőcze 2023-04-18 23:13:59 +02:00
commit aa31c857c7
Signed by: Gitea
GPG Key ID: 7B89B83EED9AD2C6

6
Jenkinsfile vendored
View File

@ -32,7 +32,7 @@ pipeline {
sh 'vendor/bin/phpunit --log-junit unit_test_results.xml --testdox tests' sh 'vendor/bin/phpunit --log-junit unit_test_results.xml --testdox tests'
} }
post { post {
success { always {
archiveArtifacts 'unit_test_results.xml' archiveArtifacts 'unit_test_results.xml'
} }
} }
@ -47,10 +47,10 @@ pipeline {
} }
} }
steps { 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 { post {
success { always {
archiveArtifacts 'static_code_analysis_results.json' archiveArtifacts 'static_code_analysis_results.json'
} }
} }