mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
New UI to show YD Order Tracking infomation
This commit is contained in:
Vendored
+1
-17
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user