~fginther/ubuntu-test-cases/document-rtm-mp-testing

« back to all changes in this revision

Viewing changes to jenkins/templates/touch-upgrade.xml.jinja2

  • Committer: Chris Johnston
  • Date: 2013-08-30 17:45:20 UTC
  • mto: (19.1.1 touch)
  • mto: This revision was merged to the branch mainline in revision 19.
  • 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>rm -rf *
 
12
bzr branch lp:~canonical-platform-qa/ubuntu-test-runlists/touch-runlists
 
13
export ANDROID_SERIAL=$(touch-runlists/jenkins/get-adb-id {{name}})
 
14
 
 
15
BRANCH=&quot;lp:ubuntu-test-cases/smoke-touch-apps&quot;
 
16
BZRDIR=`echo &quot;$BRANCH&quot; | awk -F/ &apos;{ print $(NF) }&apos;`
 
17
bzr branch ${BRANCH} ${BZRDIR}
 
18
 
 
19
./touch-runlists/jenkins/run-touch-upgrade.sh
 
20
</command>
 
21
{% endblock %}
 
22
 
 
23
{% block artifacts %}
 
24
      <artifacts>clientlogs/*, **/jenkins.sh</artifacts>
 
25
{% endblock %}
 
26
 
 
27
{% block descriptionsetter %}
 
28
    <hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
 
29
      <regexp>^UPGRADED TO VERSION: (.*)</regexp>
 
30
      <regexpForFailed>^UPGRADED TO VERSION: (.*)</regexpForFailed>
 
31
      <setForMatrix>false</setForMatrix>
 
32
    </hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
 
33
{% endblock %}