Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- rm -fr /tmp/test.txt
- echo "ONE
- TWO
- THREE" > /tmp/test.txt
- while read line; do
- echo "I'm $line"
- ssh -o ConnectTimeout=1 jenkins@testing.contiento.com "sleep 1"
- echo "And I'm done"
- done < /tmp/test.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement