summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-11-24 08:18:00 +0300
committerAndrew Dolgov <[email protected]>2022-11-24 08:18:00 +0300
commit37c6528e80ffc4d9570d168913bc4ffc79e1e044 (patch)
treedd1e2daff0b2d6b7316d11aeffbccaba84f71c57
parent5fb2393bbc9d73e05ec5a02dd9c1bd81b2911956 (diff)
parente82a149d36a9c437fcbea36e112ece967532c7a8 (diff)
Merge branch 'master' of git.tt-rss.org:tt-rss/ttrss-perceptual-image-hash
-rw-r--r--Jenkinsfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644
index 0000000..4cad0e2
--- /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.local/plugin \
+ --workdir /src/tt-rss \
+ --rm cthulhoo/ttrss-fpm-pgsql-static:latest \
+ php81 ./vendor/bin/phpstan analyse plugins.local/plugin --memory-limit=512M
+ """
+ }
+ }
+ }
+}