あなたの助けを借りることができます:
スクリプトからの応答を待たないように、Groovy で Ant タスクを実行しようとしています (つまり、バックグラウンドで実行されます)。
次の2つの方法を試しましたが、成功しませんでした
//Cannot find script
ant.exec(failonerror: "true", executable: "scriptname.sh &")
// Says: You have used an attribute or nested element which is not compatible with spawn
ant.exec(failonerror: "true", spawn:"true", executable: "scriptname.sh")
これを達成する方法について何かアドバイスはありますか?Google を検索しましたが、Groovy の良い例が見つかりません。
みんなありがとう、助けてくれてありがとう。