вторник, 21 февраля 2012 г.

amazon ec2 sshd freeze fix

Looks like because not unlimited nat track time sshd freezes after some minutes of incativity.
This could be fixed with client alive param in sshd_config:
# grep ClientAlive /etc/ssh/sshd_config
ClientAliveInterval 30

вторник, 14 февраля 2012 г.

jenkins build in shell execution not per line error

Link is forgotten, from google:
" You're right - it doesn't, if you know Jenkins well enough. I've
found the answer to my question: "The first line (beginning with #!/
bin/sh -x) is important. If you omit it, Hudson will run the script
with /bin/sh -xe and that will make the script terminate on first
command that returns non-zero status." "