~cjohnston/+junk/settle

« back to all changes in this revision

Viewing changes to jenkins/job-creation/templates/touch-autopilot-base.xml.jinja2

  • Committer: Paul Larson
  • Date: 2013-08-01 04:25:31 UTC
  • mfrom: (30.1.14 touch-runlists-new)
  • Revision ID: paul.larson@canonical.com-20130801042531-qe09p2ielng1h33m
Rework the way we run all touch jobs

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
 
 
7
{% block shellcmds %}
 
8
      <command>set -e
 
9
rm -rf *
 
10
 
 
11
# determine the ADB ID
 
12
bzr export touch-runlists lp:~canonical-platform-qa/ubuntu-test-runlists/touch-runlists/jenkins
 
13
 
 
14
export ANDROID_SERIAL=$(touch-runlists/get-adb-id {{name}})
 
15
 
 
16
{% block apptest %}{% endblock %}
 
17
 
 
18
BRANCH=&quot;lp:ubuntu-test-cases/smoke-touch-apps&quot;
 
19
BZRDIR=`echo &quot;$BRANCH&quot; | awk -F/ &apos;{ print $(NF) }&apos;`
 
20
bzr branch ${BRANCH} ${BZRDIR}
 
21
 
 
22
${BZRDIR}/jenkins/jenkins.sh
 
23
      </command>
 
24
{% endblock %}
 
25
 
 
26
{% block artifacts %}
 
27
      <artifacts>clientlogs/*, **/jenkins.sh</artifacts>
 
28
{% endblock %}