Jenkins CI testing
This commit is contained in:
parent
f47ce96ce8
commit
4ee7ed099e
|
@ -5,3 +5,4 @@ npm-debug.log
|
|||
datasources.*.json
|
||||
print.*.json
|
||||
db.json
|
||||
junitresults.xml
|
|
@ -12,6 +12,21 @@ pipeline {
|
|||
TAG = "${env.BRANCH_NAME}"
|
||||
}
|
||||
stages {
|
||||
environment {
|
||||
FIREFOX_BIN = "firefox/firefox-bin"
|
||||
}
|
||||
stage('Test') {
|
||||
// apt-get update
|
||||
// apt-get install libgtk-3-0 libdbus-glib-1-2 xvfb
|
||||
// wget https://ftp.mozilla.org/pub/firefox/releases/64.0.2/linux-x86_64/en-US/firefox-64.0.2.tar.bz2
|
||||
// tar xvjf firefox-64.0.2.tar.bz2
|
||||
// rm firefox-64.0.2.tar.bz2
|
||||
|
||||
sh "karma start"
|
||||
sh "gulp docker"
|
||||
sh "gulp backendUnitTest --junit"
|
||||
sh "docker rm -f salix-db"
|
||||
}
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
script {
|
||||
|
|
Loading…
Reference in New Issue