From 3cf8c8e2dd8b6fe75ecd9892c813c088f2185b27 Mon Sep 17 00:00:00 2001 From: Artur Nowakowski Date: Sat, 30 Nov 2019 18:39:18 +0100 Subject: [PATCH] Jenkinsfile fix --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4f1230e..0a26bd5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ node { } } docker.image('circleci/php:7.4').inside("--link ${c.id}:db") { - stage("Prepare container") { sh 'apt-get update && apt-get install -y php-mysql' } + stage("Prepare container") { sh 'docker-php-ext-install -j$(nproc) pdo_mysql' } stage("Build") { sh 'composer install && mv .env.example .env' } stage("Test") { sh 'vendor/bin/phpunit' } }