針對使用 Ant 建置的針案。讓 Jenkins 以指定的 Target 及選項叫用 Ant。 任何非 0 的結束代碼都會讓 Jenkins 把建置標為失敗。

Jenkins 提供一些環境變數,可以在建置 Script 裡使用。