fix archive in pipeline
Some checks are pending
soko-web/pipeline/pr-master Build queued...

This commit is contained in:
Bence Pőcze 2023-04-17 21:25:39 +02:00
parent 644197fae8
commit 3c94da5546
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

6
Jenkinsfile vendored
View File

@ -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'
}
}