Update argumenst for running tests
parent
a11ca596c7
commit
110565662d
|
@ -35,7 +35,7 @@ pipeline {
|
||||||
echo 'Running Tests....'
|
echo 'Running Tests....'
|
||||||
script {
|
script {
|
||||||
dir('ogWebconsole') {
|
dir('ogWebconsole') {
|
||||||
docker.image("${IMAGE_ID}").withRun('-p 8080:8080') { c ->
|
docker.image("${IMAGE_ID}").withRun('-e CHROME_BIN=/usr/bin/chromium -v $(pwd)/karma.conf.js:/app/karma.conf.js -v $(pwd)/.env:/app/.env') { c ->
|
||||||
sh 'docekr exec -it ${c.id} ng test --watch=false --source-map=false --karma-config=karma.conf.js --browsers=ChromeHeadless --progress=false'
|
sh 'docekr exec -it ${c.id} ng test --watch=false --source-map=false --karma-config=karma.conf.js --browsers=ChromeHeadless --progress=false'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue