Rewritten jenkins plugin to non block