Created
January 23, 2018 12:16
-
-
Save ignazioc/97b38e7133e11e849a8bd8cce39ff020 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for server in macmini07-ios macmini08-android macmini09-ios macmini10-android macmini11-ios macmini12-android; | |
do | |
ssh -i ~/.ssh/remoteJenkins jenkins@${server} < script.sh | |
scp -i ~/.ssh/remoteJenkins jenkins@${server}:~/report.txt ./report_${server}.txt | |
for REPORT in `ls report*`; | |
do | |
echo "$REPORT" && cat $REPORT | grep "Model: APPLE SSD" | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment