* Add clean database from unittest use.
This commit is contained in:
Vendored
+1
-1
@@ -93,7 +93,7 @@ pipeline {
|
||||
|
||||
steps {
|
||||
container('zentao') {
|
||||
sh 'apachectl start ; initdb.php ; /apps/zentao/test/ztest batchInit ; /apps/zentao/test/ztest concurrency | tee /apps/zentao/test/${MIDDLE_IMAGE_TAG}.log ; parsehtml.php '
|
||||
sh 'apachectl start ; initdb.php > /apps/zentao/unittestdb.spl ; /apps/zentao/test/ztest batchInit ; /apps/zentao/test/runtimne/ztf /apps/zentao/module/*/test -C 50 | tee /apps/zentao/test/${MIDDLE_IMAGE_TAG}.log ; parsehtml.php ; initdb /apps/zentao/unittest.sql'
|
||||
publishHTML (target : [allowMissing: false,alwaysLinkToLastBuild: false,keepAll: true,reportDir: 'coverage',reportFiles: 'index.html',reportName: 'UT Coverage Report',reportTitles: 'UT Coverage Report'])
|
||||
sh 'pipeline-unittest.sh /apps/zentao/test/${MIDDLE_IMAGE_TAG}.log'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user