Running tests

oggui/translations
Nicolas Arenas 2024-10-24 18:37:05 +02:00
parent 97ceec1771
commit a11ca596c7
1 changed files with 12 additions and 0 deletions

View File

@ -30,6 +30,18 @@ pipeline {
}
}
}
stage('Testing') {
steps {
echo 'Running Tests....'
script {
dir('ogWebconsole') {
docker.image("${IMAGE_ID}").withRun('-p 8080:8080') { c ->
sh 'docekr exec -it ${c.id} ng test --watch=false --source-map=false --karma-config=karma.conf.js --browsers=ChromeHeadless --progress=false'
}
}
}
}
}
stage('Push') {
steps {
echo 'Pushing....'