~uosci/ubuntu-openstack-ci/trunk

« back to all changes in this revision

Viewing changes to deployment/jobs/magpie_goose_matrix/config.xml

Add secgroup cleanup and restrict sudo privileges

Adjust for limited sudo privileges for the jenkins user

Add post-destroy info dump

Remove shim for hashsum mismatch issue in Juju 1.25.6

Bail earlier if mojo operations fail

Update jenkins sudoers

Fixes and workarounds for:
 - https://bugs.launchpad.net/charm-test-infra/+bug/1647000
 - https://github.com/juju/charmstore-client/issues/104
 - https://github.com/juju/docs/issues/1555
 - https://bugs.launchpad.net/bugs/1541482
 - https://bugs.launchpad.net/bugs/1647000
 - https://bugs.launchpad.net/bugs/1646909
 - https://bugs.launchpad.net/bugs/1333162
 - https://bugs.launchpad.net/bugs/1625624
 - https://bugs.launchpad.net/bugs/1570216

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='UTF-8'?>
 
2
<matrix-project plugin="matrix-project@1.7.1">
 
3
  <actions/>
 
4
  <description></description>
 
5
  <keepDependencies>false</keepDependencies>
 
6
  <properties>
 
7
    <jenkins.model.BuildDiscarderProperty>
 
8
      <strategy class="hudson.tasks.LogRotator">
 
9
        <daysToKeep>-1</daysToKeep>
 
10
        <numToKeep>60</numToKeep>
 
11
        <artifactDaysToKeep>120</artifactDaysToKeep>
 
12
        <artifactNumToKeep>120</artifactNumToKeep>
 
13
      </strategy>
 
14
    </jenkins.model.BuildDiscarderProperty>
 
15
    <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.25">
 
16
      <autoRebuild>false</autoRebuild>
 
17
      <rebuildDisabled>false</rebuildDisabled>
 
18
    </com.sonyericsson.rebuild.RebuildSettings>
 
19
    <hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@1.9.0">
 
20
      <maxConcurrentPerNode>1</maxConcurrentPerNode>
 
21
      <maxConcurrentTotal>1</maxConcurrentTotal>
 
22
      <categories class="java.util.concurrent.CopyOnWriteArrayList">
 
23
        <string>false</string>
 
24
      </categories>
 
25
      <throttleEnabled>false</throttleEnabled>
 
26
      <throttleOption>project</throttleOption>
 
27
      <limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
 
28
      <matrixOptions>
 
29
        <throttleMatrixBuilds>true</throttleMatrixBuilds>
 
30
        <throttleMatrixConfigurations>true</throttleMatrixConfigurations>
 
31
      </matrixOptions>
 
32
      <paramsToUseForLimit></paramsToUseForLimit>
 
33
    </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
 
34
    <org.jvnet.hudson.plugins.shelveproject.ShelveProjectProperty plugin="shelve-project-plugin@1.5"/>
 
35
  </properties>
 
36
  <scm class="hudson.scm.NullSCM"/>
 
37
  <assignedNode>task</assignedNode>
 
38
  <canRoam>false</canRoam>
 
39
  <disabled>false</disabled>
 
40
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
 
41
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
 
42
  <triggers>
 
43
    <hudson.triggers.TimerTrigger>
 
44
      <spec>55 23 * * *</spec>
 
45
    </hudson.triggers.TimerTrigger>
 
46
  </triggers>
 
47
  <concurrentBuild>false</concurrentBuild>
 
48
  <axes>
 
49
    <hudson.matrix.TextAxis>
 
50
      <name>MOJO_SERIES</name>
 
51
      <values>
 
52
        <string>xenial</string>
 
53
        <string>trusty</string>
 
54
      </values>
 
55
    </hudson.matrix.TextAxis>
 
56
    <hudson.matrix.TextAxis>
 
57
      <name>MOJO_SPEC</name>
 
58
      <values>
 
59
        <string>specs/dev/magpie</string>
 
60
      </values>
 
61
    </hudson.matrix.TextAxis>
 
62
  </axes>
 
63
  <builders>
 
64
    <hudson.tasks.Shell>
 
65
      <command>#exit 1</command>
 
66
    </hudson.tasks.Shell>
 
67
    <hudson.plugins.parameterizedtrigger.TriggerBuilder plugin="parameterized-trigger@2.32">
 
68
      <configs>
 
69
        <hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
 
70
          <configs>
 
71
            <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
 
72
            <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
 
73
              <properties>MOJO_SERIES=$MOJO_SERIES
 
74
MOJO_SPEC=$MOJO_SPEC
 
75
DISPLAY_NAME=$MOJO_SPEC $MOJO_SERIES</properties>
 
76
            </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
 
77
          </configs>
 
78
          <projects>mojo_runner</projects>
 
79
          <condition>ALWAYS</condition>
 
80
          <triggerWithNoParameters>false</triggerWithNoParameters>
 
81
          <block>
 
82
            <buildStepFailureThreshold>
 
83
              <name>FAILURE</name>
 
84
              <ordinal>2</ordinal>
 
85
              <color>RED</color>
 
86
              <completeBuild>true</completeBuild>
 
87
            </buildStepFailureThreshold>
 
88
            <unstableThreshold>
 
89
              <name>UNSTABLE</name>
 
90
              <ordinal>1</ordinal>
 
91
              <color>YELLOW</color>
 
92
              <completeBuild>true</completeBuild>
 
93
            </unstableThreshold>
 
94
            <failureThreshold>
 
95
              <name>FAILURE</name>
 
96
              <ordinal>2</ordinal>
 
97
              <color>RED</color>
 
98
              <completeBuild>true</completeBuild>
 
99
            </failureThreshold>
 
100
          </block>
 
101
          <buildAllNodesWithLabel>false</buildAllNodesWithLabel>
 
102
        </hudson.plugins.parameterizedtrigger.BlockableBuildTriggerConfig>
 
103
      </configs>
 
104
    </hudson.plugins.parameterizedtrigger.TriggerBuilder>
 
105
  </builders>
 
106
  <publishers>
 
107
    <hudson.tasks.ArtifactArchiver>
 
108
      <artifacts>*, logs/*</artifacts>
 
109
      <allowEmptyArchive>true</allowEmptyArchive>
 
110
      <onlyIfSuccessful>false</onlyIfSuccessful>
 
111
      <fingerprint>false</fingerprint>
 
112
      <defaultExcludes>true</defaultExcludes>
 
113
      <caseSensitive>true</caseSensitive>
 
114
    </hudson.tasks.ArtifactArchiver>
 
115
    <hudson.plugins.descriptionsetter.DescriptionSetterPublisher plugin="description-setter@1.10">
 
116
      <regexp>_:.*</regexp>
 
117
      <regexpForFailed>_:.*</regexpForFailed>
 
118
      <setForMatrix>false</setForMatrix>
 
119
    </hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
 
120
  </publishers>
 
121
  <buildWrappers>
 
122
    <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.8.4"/>
 
123
    <org.jenkinsci.plugins.buildnamesetter.BuildNameSetter plugin="build-name-setter@1.6.5">
 
124
      <template>#${BUILD_NUMBER}</template>
 
125
      <runAtStart>true</runAtStart>
 
126
      <runAtEnd>true</runAtEnd>
 
127
    </org.jenkinsci.plugins.buildnamesetter.BuildNameSetter>
 
128
    <org.jenkinsci.plugins.builduser.BuildUser plugin="build-user-vars-plugin@1.5"/>
 
129
  </buildWrappers>
 
130
  <executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
 
131
    <runSequentially>true</runSequentially>
 
132
  </executionStrategy>
 
133
</matrix-project>
 
 
b'\\ No newline at end of file'