~cjohnston/ubuntu-test-cases/convergence

« back to all changes in this revision

Viewing changes to jenkins/templates/touch-install-and-boot.xml.jinja2

  • Committer: Chris Johnston
  • Date: 2013-08-30 17:45:20 UTC
  • Revision ID: chrisjohnston@ubuntu.com-20130830174520-8kmqpi1t1g6jmhfj
Add ubuntu-touch-runlists

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "touch-base.xml.jinja2" %}
 
2
<?xml version='1.0' encoding='UTF-8'?>
 
3
{% block triggers %}
 
4
  <triggers class="vector"/>
 
5
{% endblock %}
 
6
{% block timeout %}
 
7
  <timeoutMinutes>30</timeoutMinutes>
 
8
{% endblock timeout %}
 
9
 
 
10
{% block shellcmds %}
 
11
      <command>set -e
 
12
rm -rf *
 
13
 
 
14
# determine the ADB ID
 
15
bzr branch lp:~canonical-platform-qa/ubuntu-test-runlists/touch-runlists
 
16
export ANDROID_SERIAL=$(touch-runlists/jenkins/get-adb-id {{name}})
 
17
 
 
18
{% if system_image %}
 
19
export TOUCH_IMAGE=--ubuntu-bootstrap
 
20
{% endif %}
 
21
 
 
22
BRANCH=&quot;lp:ubuntu-test-cases/smoke-touch-apps&quot;
 
23
BZRDIR=`echo &quot;$BRANCH&quot; | awk -F/ &apos;{ print $(NF) }&apos;`
 
24
bzr branch ${BRANCH} ${BZRDIR}
 
25
 
 
26
#Wait for images to actually show up on cdimage
 
27
sleep 300
 
28
${BZRDIR}/jenkins/provision.sh
 
29
 
 
30
touch-runlists/jenkins/run-touch-utah-runlist.sh -s $ANDROID_SERIAL -r lp:~canonical-platform-qa/ubuntu-test-runlists/touch-runlists/runlists/touch-smoke-boot.run
 
31
      </command>
 
32
{% endblock %}
 
33
 
 
34
{% block artifacts %}
 
35
      <artifacts>clientlogs/*</artifacts>
 
36
{% endblock %}
 
37
{% block descriptionsetter %}
 
38
    <hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
 
39
      <regexp>Download directory set to /home/ubuntu/Downloads/phablet-flash/ubuntu-touch/([0-9]+.*)</regexp>
 
40
      <regexpForFailed>Download directory set to /home/ubuntu/Downloads/phablet-flash/ubuntu-touch/([0-9]+.*)</regexpForFailed>
 
41
      <setForMatrix>false</setForMatrix>
 
42
    </hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
 
43
{% endblock %}