* Fix delete db for unitest in pipeline.

This commit is contained in:
liyang
2023-05-15 08:40:16 +08:00
parent 9efa141bd6
commit e008b5866d
Vendored
+1 -1
View File
@@ -93,7 +93,7 @@ pipeline {
steps {
container('zentao') {
sh 'apachectl start ; initdb.php > /apps/zentao/unittestdb.spl ; /apps/zentao/test/ztest batchInit ;/apps/zentao/test/runtime/ztf /apps/zentao/module -C 11 | tee /apps/zentao/test/${MIDDLE_IMAGE_TAG}.log ; parsehtml.php ; initdb.php /apps/zentao/unittest.sql'
sh 'apachectl start ; initdb.php > /apps/zentao/unittestdb.spl ; /apps/zentao/test/ztest batchInit ;/apps/zentao/test/runtime/ztf /apps/zentao/module -C 11 | tee /apps/zentao/test/${MIDDLE_IMAGE_TAG}.log ; parsehtml.php ; initdb.php /apps/zentao/unittestdb.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'
}