prueba unit-test-path secret
This commit is contained in:
@@ -8,8 +8,10 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage ('Unit Tests') {
|
stage ('Unit Tests') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'dotnet test ./CleanArchitecture/CleanArchitecture.Application.UnitTests'
|
withCredentials([string(credentialsId: 'unit-test-path', variable: 'UNIT_TEST_PATH')]){
|
||||||
|
sh "dotnet test ${UNIT_TEST_PATH}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user