|
|
@ -29,7 +29,7 @@ pipeline {
|
|
|
|
docker run --rm \
|
|
|
|
docker run --rm \
|
|
|
|
--workdir /app \
|
|
|
|
--workdir /app \
|
|
|
|
-v ${env.WORKSPACE}/tt-rss:/app \
|
|
|
|
-v ${env.WORKSPACE}/tt-rss:/app \
|
|
|
|
php:8.1-cli \
|
|
|
|
registry.fakecake.org/php:8.1-cli \
|
|
|
|
php ./vendor/bin/phpunit
|
|
|
|
php ./vendor/bin/phpunit
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -37,11 +37,10 @@ pipeline {
|
|
|
|
stage('phpstan') {
|
|
|
|
stage('phpstan') {
|
|
|
|
steps {
|
|
|
|
steps {
|
|
|
|
sh """
|
|
|
|
sh """
|
|
|
|
# php -d memory_limit=-1 ....
|
|
|
|
|
|
|
|
docker run --rm \
|
|
|
|
docker run --rm \
|
|
|
|
--workdir /app \
|
|
|
|
--workdir /app \
|
|
|
|
-v ${env.WORKSPACE}/tt-rss:/app \
|
|
|
|
-v ${env.WORKSPACE}/tt-rss:/app \
|
|
|
|
php:8.1-cli \
|
|
|
|
registry.fakecake.org/php:8.1-cli \
|
|
|
|
php -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G
|
|
|
|
php -d memory_limit=-1 ./vendor/bin/phpstan --memory-limit=2G
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -119,7 +118,7 @@ pipeline {
|
|
|
|
docker run --rm \
|
|
|
|
docker run --rm \
|
|
|
|
--workdir /app \
|
|
|
|
--workdir /app \
|
|
|
|
-v ${env.WORKSPACE}/tt-rss:/app \
|
|
|
|
-v ${env.WORKSPACE}/tt-rss:/app \
|
|
|
|
phpdoc/phpdoc:3 \
|
|
|
|
registry.fakecake.org/phpdoc/phpdoc:3 \
|
|
|
|
-d /app/tt-rss/classes \
|
|
|
|
-d /app/tt-rss/classes \
|
|
|
|
-d /app/tt-rss/include \
|
|
|
|
-d /app/tt-rss/include \
|
|
|
|
-t /app/phpdoc/out \
|
|
|
|
-t /app/phpdoc/out \
|
|
|
|