mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-08 07:39:53 +02:00
add Jenkinsfile
This commit is contained in:
parent
892bcd634c
commit
78eb9d363f
1 changed files with 17 additions and 0 deletions
17
Jenkinsfile
vendored
Normal file
17
Jenkinsfile
vendored
Normal 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
|
||||||
|
"""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue