Running tests
parent
97ceec1771
commit
a11ca596c7
|
@ -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....'
|
||||
|
|
Loading…
Reference in New Issue