From ca00b001e506a8c8b3445b27d144886abfd16e7b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Oct 2022 14:35:39 +0300 Subject: add Jenkinsfile --- Jenkinsfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Jenkinsfile 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 + """ + } + } + } +} -- cgit v1.2.3