From ccd06ff740b62f5a8ea0e868d8893c60d601f444 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 14 Apr 2025 13:53:22 +0800 Subject: [PATCH] New UI to show YD Order Tracking infomation - Testing --- Jenkinsfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 703164b7..02817290 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -62,16 +62,16 @@ pipeline { stage('Tests') { steps { //sh 'vendor/bin/phpunit tests/Unit' - // withCredentials([ - // usernamePassword( - // credentialsId: 'shipping-portal-dev-db-credential', - // usernameVariable: 'DB_USERNAME', - // passwordVariable: 'DB_PASSWORD' - // ), - // string(credentialsId: 'shipping-portal-dev-db-host', variable: 'DB_HOST') - // ]) { - // sh 'vendor/bin/phpunit --filter ListOrderTrackingLogicTest' - // } + withCredentials([ + usernamePassword( + credentialsId: 'shipping-portal-dev-db-credential', + usernameVariable: 'DB_USERNAME', + passwordVariable: 'DB_PASSWORD' + ), + string(credentialsId: 'shipping-portal-dev-db-host', variable: 'DB_HOST') + ]) { + sh 'vendor/bin/phpunit --filter ListOrderTrackingLogicTest' + } script{ currentBuild.description = 'Step 4 of 6 Completed' }