skip register with jenkins master in test mode