thank you for answering Robert.
Yes, I use: Strategy for choosing what to build -> Gerrit Trigger
and I set the ref spec to $GERRIT_REFSPEC, too.
I use these setting while using jenkins on ubuntu works fine.
that's why i'm so confused why can't it run on windows...
Then I came up with another idea, that is to use jenkins on ubuntu, which works fine, and to make my code build on windows(another computer)
so what plugin should I use? SSH Plugin?
but according to
jenkins wiki, it seems can be use on linux system only?
thank you guys so much for answering me!!
Robert Sandell於 2016年3月31日星期四 UTC+8下午10時04分12秒寫道: