diff --git a/Jenkinsfile b/Jenkinsfile index 6f9fba3d..cdcdad22 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,22 +49,7 @@ pipeline { stage('Install') { steps { - // sh 'composer update' - sh ''' - echo "Updating system packages..." - apt-get update - - echo "Installing PHP extensions..." - apt-get install -y php-pdo php-mysql - - echo "Checking if PDO is installed..." - php -m | grep -i pdo || echo "PDO NOT installed!" - - php -r "echo extension_loaded('pdo') ? 'PDO is installed' : 'PDO is NOT installed';" - - echo "Updating Composer dependencies..." - composer update - ''' + sh 'composer update' script{ currentBuild.description = 'Step 3 of 6 Completed' } @@ -74,7 +59,6 @@ pipeline { stage('Tests') { steps { //sh 'vendor/bin/phpunit tests/Unit' - sh 'vendor/bin/phpunit tests/Unit/Orders' script{ currentBuild.description = 'Step 4 of 6 Completed' }