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

« back to all changes in this revision

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

  • Committer: Paul Larson
  • Date: 2014-10-31 02:28:34 UTC
  • mfrom: (323.3.1 recover-at-end)
  • Revision ID: paul.larson@canonical.com-20141031022834-g4ms918fu2zra98o
Add a postbuild-task to recover the device after the job is complete

Show diffs side-by-side

added added

removed removed

Lines of Context:
151
151
      <regexpForFailed>^= TOUCH IMAGE VERSION:([0-9]+.*)</regexpForFailed>
152
152
      <setForMatrix>false</setForMatrix>
153
153
    </hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
 
154
    <hudson.plugins.postbuildtask.PostbuildTask>
 
155
      <tasks>
 
156
        <hudson.plugins.postbuildtask.TaskProperties>
 
157
          <logTexts>
 
158
            <hudson.plugins.postbuildtask.LogProperties>
 
159
              <logText/>
 
160
              <operator>AND</operator>
 
161
            </hudson.plugins.postbuildtask.LogProperties>
 
162
          </logTexts>
 
163
          <EscalateStatus>false</EscalateStatus>
 
164
          <RunIfJobSuccessful>false</RunIfJobSuccessful>
 
165
          <script>
 
166
touch/scripts/recover.py ${NODE_NAME}
 
167
          </script>
 
168
        </hudson.plugins.postbuildtask.TaskProperties>
 
169
      </tasks>
 
170
    </hudson.plugins.postbuildtask.PostbuildTask>
154
171
{% if publish %}
155
172
    <hudson.tasks.Mailer>
156
173
      <recipients>paul.larson@canonical.com</recipients>