prueba unit-test-path secret
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user