diff options
author | Andrew Dolgov <[email protected]> | 2022-10-02 14:35:43 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-10-02 14:35:43 +0300 |
commit | 801886aabbe2cee1b9c8da0eb93219b4ee901223 (patch) | |
tree | 1c0905316441423ec7704e43d7a02eaea35ebef9 | |
parent | 006376f1f8cd9d4b8fa3a9c4c006fc05dfb15e41 (diff) |
add Jenkinsfile
-rw-r--r-- | Jenkinsfile | 17 |
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 + """ + } + } + } +} |