X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jenkins-scripts%2Frobot.sh;h=a76f691591a8319dba88e6f33c1b215c5101bc82;hb=ce435ac948b36f8ff33177a0457e96e2d920866a;hp=26feb1d322df63602321ad041efc91963cc02989;hpb=0e348577f3d6f01198540ca7692fa234d42515ba;p=releng%2Fbuilder.git diff --git a/jenkins-scripts/robot.sh b/jenkins-scripts/robot.sh index 26feb1d32..a76f69159 100755 --- a/jenkins-scripts/robot.sh +++ b/jenkins-scripts/robot.sh @@ -1,7 +1,13 @@ #!/bin/bash +# make sure we don't require tty for sudo operations +cat </etc/sudoers.d/89-jenkins-user-defaults +Defaults:jenkins !requiretty +jenkins ALL = NOPASSWD: /usr/bin/sshuttle, /usr/bin/kill, /usr/sbin/iptables +EOF + yum clean all -yum install -y -q unzip python-netaddr @development +yum install -y -q unzip python-netaddr sshuttle @development yum remove -y robotframework-{sshlibrary,requests} ## install Latest Robot Framewrok from source