blob: c0adb8d65077cb77f01a2fb7f41d02854f04f016 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
pipeline {
agent any
options {
buildDiscarder(logRotator(numToKeepStr: '5'))
}
stages {
stage('phpstan') {
steps {
sh """
docker run --rm -v ${env.WORKSPACE}:/src/tt-rss/lib/local \
--workdir /src/tt-rss registry.fakecake.org/cthulhoo/ttrss-fpm-pgsql-static:latest\
php81 ./vendor/bin/phpstan analyse lib/local --memory-limit=1G
"""
}
}
}
}
|