[Jenkins] fix the crash in comment trigger