diff options
author | Andrew Dolgov <[email protected]> | 2022-10-02 14:35:45 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-10-02 14:35:45 +0300 |
commit | 59a3cc5f01ab3eb2814cd339a16986a52106f5dd (patch) | |
tree | c7f8f8720f15a977ea54ecb7a6bdd94cfdb06ea6 | |
parent | 72af96f69470bfbd4901e6dd2304198af78ac45a (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 + """ + } + } + } +} |