prueba unit-test-path secret

This commit is contained in:
Alejandro Sarmiento
2024-03-12 17:37:09 +01:00
parent 9f40d78339
commit b0cbc6a75b

View File

@@ -8,8 +8,10 @@ pipeline {
stages {
stage ('Unit Tests') {
steps {
script {
sh 'dotnet test ./CleanArchitecture/CleanArchitecture.Application.UnitTests'
script {
withCredentials([string(credentialsId: 'unit-test-path', variable: 'UNIT_TEST_PATH')]){
sh "dotnet test ${UNIT_TEST_PATH}"
}
}
}
}