summaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: 4cad0e22d1fc95d1ed3a16b9ae72433d1ecaf3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pipeline {
    agent any

    stages {
        stage('phpstan') {
            steps {
                sh """
                docker run --pull=always \
						-v ${env.WORKSPACE}:/src/tt-rss/plugins.local/plugin \
						--workdir /src/tt-rss \
						--rm cthulhoo/ttrss-fpm-pgsql-static:latest \
						php81 ./vendor/bin/phpstan analyse plugins.local/plugin --memory-limit=512M
                """
            }
        }
    }
}