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' }