diff --git a/Jenkinsfile b/Jenkinsfile index 38ac5fd..3aed0c0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,11 @@ pipeline { TEST_RESULTS_DIR = 'TestResults' COVERAGE_DIR = 'TestResults/Coverage' COVERAGE_FILE = 'TestResults/Coverage/coverage.opencover.xml' + + // Path ติดตั้ง dotnet ชั่วคราวใน pipeline + DOTNET_ROOT = "${WORKSPACE}/.dotnet" + PATH = "${DOTNET_ROOT}:${PATH}" + PUBLISH_DIR = 'publish/Release' SONAR_PROJECT_KEY = 'AS400API' SONAR_PROJECT_NAME = 'AS400API'