summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-10-02 14:37:28 +0300
committerAndrew Dolgov <[email protected]>2022-10-02 14:37:28 +0300
commit94ec54d42a9bf5b062f59355d890143cf8355094 (patch)
treef858bc00464d252650dc5f6f423151da00f10d77
parent0bc4e66a48a0bd9cbe02f2fa3f48db41a513c1fe (diff)
add Jenkinsfile
-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
+ """
+ }
+ }
+ }
+}