1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-07 23:59:52 +02:00

add Jenkinsfile

This commit is contained in:
Andrew Dolgov 2022-10-02 14:35:39 +03:00
parent 892bcd634c
commit 78eb9d363f
No known key found for this signature in database
GPG key ID: 1A56B4FA25D4AF2A

17
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,17 @@
pipeline {
agent any
stages {
stage('phpstan') {
steps {
sh """
docker run --pull=always \
-v ${env.WORKSPACE}:/src/tt-rss/plugins/plugin \
--workdir /src/tt-rss \
--rm cthulhoo/ttrss-fpm-pgsql-static:latest \
php81 ./vendor/bin/phpstan analyse plugins/plugin
"""
}
}
}
}