X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-copy-ssh-keys.sh;fp=jjb%2Fopendaylight-infra-copy-ssh-keys.sh;h=99e9dc7e57591f227685fae47efcd70a1d93c99d;hb=502ae5b1c607161537bf7db0211a861782916167;hp=9af4b8e3981f606567c29daaecfd655120bba05c;hpb=63aa1778346e05a2a2ade92388d3a6d965536903;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-copy-ssh-keys.sh b/jjb/opendaylight-infra-copy-ssh-keys.sh index 9af4b8e39..99e9dc7e5 100644 --- a/jjb/opendaylight-infra-copy-ssh-keys.sh +++ b/jjb/opendaylight-infra-copy-ssh-keys.sh @@ -7,6 +7,7 @@ source "$WORKSPACE/.venv-openstack/bin/activate" function copy-ssh-keys-to-slave() { RETRIES=60 for j in $(seq 1 $RETRIES); do + # shellcheck disable=SC2092 if `ssh-copy-id -i /home/jenkins/.ssh/id_rsa.pub "jenkins@${i}" > /dev/null 2>&1`; then ssh "jenkins@${i}" 'echo "$(facter ipaddress_eth0) $(/bin/hostname)" | sudo tee -a /etc/hosts' echo "Successfully copied public keys to slave ${i}"