对哈德森的“grails war”自动回应“是” [英] Auto respond 'yes' for 'grails war' on Hudson
本文介绍了对哈德森的“grails war”自动回应“是”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在使用grails war在hudson上构建一个战争,然后在我们的测试环境中部署另一个工作。
问题是当'grails war遇到插件升级,它会不断要求用户升级某些插件。
有没有办法在所有用户输入上回答y >
我试过--non-interactive但似乎什么都不做。
解决方案
您可能需要在目标文本字段中的运行目标旁加上引号:
war --non-interactive
We're using 'grails war' to build a war on hudson then another job to deploy to our test environment.
The problem is that when the 'grails war' encounters a plugin upgrade, it will continuously ask the user to upgrade certain plugins.
Is there a way to respond 'y' on all user input?
I tried --non-interactive but that seems to do nothing.
解决方案
You may need to put quotes around the run target in the Targets text field:
"war --non-interactive"
这篇关于对哈德森的“grails war”自动回应“是”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文