~fginther/auto-package-testing/release-from-command-line

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version='1.0' encoding='UTF-8'?>
<project>
  <actions/>
  <description>auto package test - {{ test }}&lt;br/&gt;&#xd;
Ref: lp:auto-package-testing&lt;br/&gt;&#xd;
Owner: Ubuntu QA Team&lt;br/&gt;&#xd;
  </description>
  <logRotator>
    <daysToKeep>-1</daysToKeep>
    <numToKeep>20</numToKeep>
    <artifactDaysToKeep>-1</artifactDaysToKeep>
    <artifactNumToKeep>-1</artifactNumToKeep>
  </logRotator>
  <keepDependencies>false</keepDependencies>
  <properties>
    <hudson.queueSorter.PrioritySorterJobProperty>
      <priority>100</priority>
    </hudson.queueSorter.PrioritySorterJobProperty>
    <hudson.plugins.throttleconcurrents.ThrottleJobProperty>
      <maxConcurrentPerNode>0</maxConcurrentPerNode>
      <maxConcurrentTotal>0</maxConcurrentTotal>
      <throttleEnabled>false</throttleEnabled>
      <throttleOption>project</throttleOption>
    </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
  </properties>
  <scm class="hudson.scm.NullSCM"/>
  <assignedNode>adt&amp;&amp;ppc64</assignedNode>
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <authToken>crobEeshEms3</authToken>
  <triggers class="vector"/>
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.tasks.Shell>
      <command># Clean-up testing env
set +e
rm -Rf *
RELEASE={{ release }}
PACKAGE={{ test }}

$HOME/autopkgtest/run-from-checkout -U --apt-pocket=proposed --timeout-build=14400 --output-dir=$WORKSPACE/results {{ test }} --- lxc -s adt-{{ release }}

RET=$?
# Return Skipped as Passed
[ $RET -eq 2 ] &amp;&amp; RET=0

exit $RET</command>
    </hudson.tasks.Shell>
  </builders>
  <publishers>
    <hudson.tasks.ArtifactArchiver>
      <artifacts>results/*stderr,results/*stdout,results/*log,results/log,results/*-packages,results/testpkg-version,results/*.crash,results/testresults/*.xml,results/syslog</artifacts>
      <latestOnly>false</latestOnly>
    </hudson.tasks.ArtifactArchiver>
    <hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
      <regexp>^Get:[0-9]+\s\S+\s(\S+)\s(\S+)\s(\S+)\s\(dsc\)</regexp>
      <regexpForFailed>^Get:[0-9]+\s\S+\s(\S+)\s(\S+)\s(\S+)\s\(dsc\)</regexpForFailed>
      <description>\1 \3</description>
      <descriptionForFailed>\1 \3</descriptionForFailed>
      <setForMatrix>false</setForMatrix>
    </hudson.plugins.descriptionsetter.DescriptionSetterPublisher>
    <hudson.plugins.build__publisher.BuildPublisher>
      <publishUnstableBuilds>true</publishUnstableBuilds>
      <publishFailedBuilds>true</publishFailedBuilds>
      <postActions class="vector"/>
    </hudson.plugins.build__publisher.BuildPublisher>
    <com.chikli.hudson.plugin.naginator.NaginatorPublisher>
      <regexpForRerun>.*adt-run: detected apt hash sum mismatch transient failure</regexpForRerun>
      <rerunIfUnstable>false</rerunIfUnstable>
      <checkRegexp>true</checkRegexp>
      <delay class="com.chikli.hudson.plugin.naginator.ProgressiveDelay">
        <increment>10</increment>
        <max>30</max>
      </delay>
      <maxSchedule>3</maxSchedule>
    </com.chikli.hudson.plugin.naginator.NaginatorPublisher>
  </publishers>
  <buildWrappers/>
</project>