diff options
author | Andrew Dolgov <[email protected]> | 2022-10-02 14:34:34 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-10-02 14:34:34 +0300 |
commit | b5b7b7125a7bd1fa9f9496d223347d2c60f13c0f (patch) | |
tree | fe39983336edce143cc446770a00fa6ff33850a9 | |
parent | 20b6e37c850a20b9ebdbca89bb8fd83b7c0f791e (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 + """ + } + } + } +} |