* robust
This commit is contained in:
parent
3a601f13a0
commit
0ef8b9710d
|
@ -62,6 +62,7 @@
|
||||||
^Tracker
|
^Tracker
|
||||||
^Trailer
|
^Trailer
|
||||||
^transfer$
|
^transfer$
|
||||||
|
^TV$
|
||||||
^user$
|
^user$
|
||||||
^VCD$
|
^VCD$
|
||||||
^VIDEO_TS$
|
^VIDEO_TS$
|
||||||
|
|
|
@ -7,7 +7,10 @@
|
||||||
*/
|
*/
|
||||||
def sshexec(param) {
|
def sshexec(param) {
|
||||||
param << [trust: true] // auto-trust remote hosts
|
param << [trust: true] // auto-trust remote hosts
|
||||||
ant().sshexec(param)
|
|
||||||
|
_guarded {
|
||||||
|
ant().sshexec(param)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,9 +24,11 @@ def sendmail(param) {
|
||||||
def sender = param.remove('from')
|
def sender = param.remove('from')
|
||||||
def recipient = param.remove('to')
|
def recipient = param.remove('to')
|
||||||
|
|
||||||
ant().mail(param) {
|
_guarded {
|
||||||
from(address:sender)
|
ant().mail(param) {
|
||||||
to(address:recipient)
|
from(address:sender)
|
||||||
|
to(address:recipient)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue