Merge lp:~doanac/ubuntu-test-cases/get-opts into lp:ubuntu-test-cases/touch
Proposed by
Andy Doan
Status: | Merged |
---|---|
Approved by: | Paul Larson |
Approved revision: | 26 |
Merged at revision: | 25 |
Proposed branch: | lp:~doanac/ubuntu-test-cases/get-opts |
Merge into: | lp:ubuntu-test-cases/touch |
Diff against target: |
316 lines (+129/-41) 6 files modified
jenkins/templates/touch-autopilot-base.xml.jinja2 (+1/-1) jenkins/templates/touch-install-and-boot.xml.jinja2 (+4/-4) scripts/get-adb-id (+1/-0) scripts/jenkins.sh (+67/-21) scripts/provision.sh (+55/-14) utils/host/adb-shell (+1/-1) |
To merge this branch: | bzr merge lp:~doanac/ubuntu-test-cases/get-opts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Larson | Approve | ||
Andy Doan (community) | Needs Resubmitting | ||
Review via email: mp+186442@code.launchpad.net |
Description of the change
Converts jenkins.sh and provision.sh to use getopts rather than environment variables.
NOTE: After merging this branch, we need to re-run setup_jenkins.py so that jobs call the scripts properly.
To post a comment you must log in.
114 +if [ -z $ANDROID_SERIAL ] ; then
115 + echo "ERROR: No android serial specified"
116 + usage
117 + exit 1
118 +fi
Do we really *need* to specify the serial? If there's just one device, or even if the environment variable is set, adb should "just work" right?