Commit af2239fa authored by qa_quantgroup's avatar qa_quantgroup

update

parent 7665bda2
#!/bin/bash #!/bin/bash
cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER} cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER}
res=`grep "2_get_code_by_name fail" log` grep "2_get_code_by_name fail" log
if [ -n "$res" ];then if [ $? = 0 ];then
echo "2_get_code_by_name fail"
exit -1 exit -1
fi fi
res=`grep "3_link_config_file_by_name fail" log` grep "3_link_config_file_by_name fail" log
if [ -n "$res" ];then if [ $? = 0 ];then
echo "3_link_config_file_by_name fail"
exit -1 exit -1
fi fi
res=`grep "4_build_by_name fail" log` grep "4_build_by_name fail" log
if [ -n "$res" ];then if [ $? = 0 ];then
echo "4_build_by_name fail"
exit -1 exit -1
fi fi
res=`grep "5_restart_by_name fail" log` grep "5_restart_by_name fail" log
if [ -n "$res" ];then if [ $? = 0 ];then
echo "5_restart_by_name fail"
exit -1 exit -1
fi fi
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