summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-11-24 08:46:48 +0300
committerAndrew Dolgov <[email protected]>2022-11-24 08:46:48 +0300
commitb84921dfbcbe52aed0cc1894e84eede000218f9c (patch)
treeae6faa3e52721d4a876eb76420de7464e19af0d5
parenta40cb9881e649556aba5a196456f00663a8b0ee5 (diff)
parent84a369f287dbd7bb719911552328c7e50a3c72b8 (diff)
Merge branch 'master' of git.tt-rss.org:tt-rss/ttrss-api-resize
-rw-r--r--Jenkinsfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..b7827eb
--- /dev/null
+++ b/Jenkinsfile
@@ -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
+ """
+ }
+ }
+ }
+}