Commit a553245f authored by qa_quantgroup's avatar qa_quantgroup

update

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