Commit 6bcb632d authored by qa_quantgroup's avatar qa_quantgroup

update

parent ae71a0fe
#!/bin/bash
echo "cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER}"
cd $JENKINS_HOME/jobs/$JOB_BASE_NAME/builds/${BUILD_NUMBER}
echo "Java程序启动时间统计:"
grep "started ok in" log
echo
grep " fail ---" log
if [ $? = 0 ];then
exit -1
else
echo "Java程序启动时间统计:"
grep "started ok in" log
fi
echo "post_build_script finish~"
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