diff options
author | Andrew Dolgov <[email protected]> | 2022-10-02 14:35:42 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-10-02 14:35:42 +0300 |
commit | 7b2f0d2720d32e13201dc2f6dbe20831ff2965ba (patch) | |
tree | 3b0956ba799e5bf9d53af7b02edd65ac94a99e70 | |
parent | 3579499ad831a2ce37725581194edf630f3aa7bc (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 + """ + } + } + } +} |