~cjohnston/+junk/settle

« back to all changes in this revision

Viewing changes to jenkins/job-creation/templates/touch-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:
26
26
{% block triggers %}{% endblock %}
27
27
  <concurrentBuild>false</concurrentBuild>
28
28
  <builders>
 
29
{% block shellblock %}
29
30
    <hudson.tasks.Shell>
30
31
{% block shellcmds %}{% endblock %}
31
32
    </hudson.tasks.Shell>
 
33
{% endblock %}
 
34
{% block extrasteps %}{% endblock %}
32
35
  </builders>
33
36
  <publishers>
 
37
{% block artifactblock %}
34
38
    <hudson.tasks.ArtifactArchiver>
35
39
{% block artifacts %}{% endblock %}
36
40
      <latestOnly>false</latestOnly>
37
41
    </hudson.tasks.ArtifactArchiver>
 
42
{% endblock %}
 
43
{% block descriptionsetter %}
38
44
    <hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
39
 
      <regexp>Download directory set to .*/([0-9]+.*)</regexp>
40
 
      <regexpForFailed>Download directory set to .*/([0-9]+.*)</regexpForFailed>
 
45
      <regexp>^= TOUCH BUILD DATE:([0-9]+.*)</regexp>
 
46
      <regexpForFailed>^= TOUCH BUILD DATE:([0-9]+.*)</regexpForFailed>
41
47
      <setForMatrix>false</setForMatrix>
42
48
    </hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
 
49
{% endblock %}
 
50
{% block mailer %}
43
51
    <hudson.tasks.Mailer>
44
52
      <recipients>paul.larson@canonical.com</recipients>
45
53
      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
46
54
      <sendToIndividuals>false</sendToIndividuals>
47
55
    </hudson.tasks.Mailer>
 
56
{% endblock %}
 
57
{% if publish %}
 
58
{% block buildpublisher %}
48
59
    <hudson.plugins.build__publisher.BuildPublisher>
49
 
{% block buildpublisher %}{% endblock %}
 
60
      <publishUnstableBuilds>true</publishUnstableBuilds>
 
61
      <publishFailedBuilds>true</publishFailedBuilds>
 
62
      <postActions class="vector"/>
50
63
    </hudson.plugins.build__publisher.BuildPublisher>
 
64
{% endblock %}
 
65
{% endif %}
51
66
{% block buildtrigger %}{% endblock %}
52
67
  </publishers>
53
68
  <buildWrappers>
 
69
    <hudson.plugins.build__timeout.BuildTimeoutWrapper>
 
70
      <timeoutMinutes>90</timeoutMinutes>
 
71
      <failBuild>true</failBuild>
 
72
      <writingDescription>false</writingDescription>
 
73
      <timeoutPercentage>0</timeoutPercentage>
 
74
      <timeoutType>absolute</timeoutType>
 
75
      <timeoutMinutesElasticDefault>3</timeoutMinutesElasticDefault>
 
76
    </hudson.plugins.build__timeout.BuildTimeoutWrapper>
 
77
{% block locks %}
54
78
    <hudson.plugins.locksandlatches.LockWrapper>
55
79
      <locks>
56
80
        <hudson.plugins.locksandlatches.LockWrapper_-LockWaitConfig>
58
82
        </hudson.plugins.locksandlatches.LockWrapper_-LockWaitConfig>
59
83
      </locks>
60
84
    </hudson.plugins.locksandlatches.LockWrapper>
 
85
{% endblock %}
61
86
  </buildWrappers>
62
87
</project>