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

« back to all changes in this revision

Viewing changes to jenkins/templates/touch-base.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:
81
81
      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
82
82
      <sendToIndividuals>false</sendToIndividuals>
83
83
    </hudson.tasks.Mailer>
 
84
    <hudson.plugins.postbuildtask.PostbuildTask>
 
85
      <tasks>
 
86
        <hudson.plugins.postbuildtask.TaskProperties>
 
87
          <logTexts>
 
88
            <hudson.plugins.postbuildtask.LogProperties>
 
89
              <logText/>
 
90
              <operator>AND</operator>
 
91
            </hudson.plugins.postbuildtask.LogProperties>
 
92
          </logTexts>
 
93
          <EscalateStatus>false</EscalateStatus>
 
94
          <RunIfJobSuccessful>false</RunIfJobSuccessful>
 
95
          <script>
 
96
touch/scripts/recover.py ${NODE_NAME}
 
97
          </script>
 
98
        </hudson.plugins.postbuildtask.TaskProperties>
 
99
      </tasks>
 
100
    </hudson.plugins.postbuildtask.PostbuildTask>
84
101
{% if publish %}
85
102
    <hudson.plugins.build__publisher.BuildPublisher>
86
103
      <publishUnstableBuilds>true</publishUnstableBuilds>