Hi

*jenkins 1.644*

when running a freestyle job, i want to collect data using a netcat (or 
telnet command) running inside a scripting shell on top a jenkins slave

body is not received when sending from jenkins job (see at the end)

#!/bin/bash 
ping -c 1 IP  # always fine and port is listening
#KO no output
telnet IP PORT
#KO no output
ncat -i 2 IP PORT

I thought about an issue related  to  "terminal type negotiation". 
I tried setting
export TERM=xterm ; # or dumb
but fails too.

Any ideas welcome.

output differs :


   - from jenkins

Trying IP...
Connected to IP.
Escape character is '^]'.
Connection closed by foreign host.


   - from host

Trying IP...
Connected to IP.
Escape character is '^]'.
my body is received
with everything expected
Connection closed by foreign host.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6bb482b4-01cb-4f00-8012-8296cc3cf837%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to