diff options
author | Andrew Dolgov <[email protected]> | 2022-10-02 14:34:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-10-02 14:34:35 +0300 |
commit | 2ec17e84189fee2dc87a052e583e5d9c3ffa91a2 (patch) | |
tree | 867c7b15a8e18547223f903aafad7b5b83f30b32 | |
parent | 6d7f15d3aae49b179e4088450608f1d8b91b81fb (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 + """ + } + } + } +} |