summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-10-02 14:35:37 +0300
committerAndrew Dolgov <[email protected]>2022-10-02 14:35:37 +0300
commit28132da2a3fdb89ae599a88e0f0a93c06a2d8c10 (patch)
treeb5f7ec0ddca4bd5aafe85d0f20339e612e7329e4
parente0ef3cc4f1837c4d98dccd10dfe51a1ed9c41963 (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
+ """
+ }
+ }
+ }
+}