[TD-2204]<test>add jdbc test
This commit is contained in:
parent
f58f8a8c03
commit
68e938e691
|
@ -101,6 +101,14 @@ pipeline {
|
||||||
java -jar target/JDBCDemo-SNAPSHOT-jar-with-dependencies.jar -host 127.0.0.1
|
java -jar target/JDBCDemo-SNAPSHOT-jar-with-dependencies.jar -host 127.0.0.1
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
|
sh '''
|
||||||
|
cd ${WKC}/src/connector/jdbc
|
||||||
|
mvn clean package -Dmaven.test.skip=true >/dev/null
|
||||||
|
cd ${WKC}/tests/examples/JDBC/JDBCDemo/
|
||||||
|
java --class-path=../../../../src/connector/jdbc/target:$JAVA_HOME/jre/lib/ext -jar target/JDBCDemo-SNAPSHOT-jar-with-dependencies.jar -host 127.0.0.1
|
||||||
|
'''
|
||||||
|
}
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh '''
|
sh '''
|
||||||
cd ${JENKINS_HOME}/workspace/C#NET/src/CheckC#
|
cd ${JENKINS_HOME}/workspace/C#NET/src/CheckC#
|
||||||
|
|
Loading…
Reference in New Issue