Commit fcb9f9a7 authored by 智勇's avatar 智勇

update

parent 7d0179b9
#!/bin/bash #!/bin/bash
echo "cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER}" echo "cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER}"
cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER} cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER}
grep -B 1 "Got error: [0-9]...:" log grep -B 1 "Got error: [0-9]\{4\}:" log
if [ $? = 0 ];then if [ $? = 0 ];then
exit -1 exit -1
fi fi
grep -B 3 "show tables failed" log
if [ $? = 0 ];then
exit -1
fi
grep -B 1 "EXEC_SQL_FAIELD Error 1813" log grep -B 1 "EXEC_SQL_FAIELD Error 1813" log
if [ $? = 0 ];then if [ $? = 0 ];then
exit -1 exit -1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment