UpgradeTestingSetup

Attachment 'quantal-upgrade-precise-desktop.config.xml'

Download

   1 <?xml version='1.0' encoding='UTF-8'?>
   2 <matrix-project>
   3   <actions/>
   4   <description>Upgrade testing from the latest LTS to the current development release</description>
   5   <keepDependencies>false</keepDependencies>
   6   <properties>
   7     <hudson.queueSorter.PrioritySorterJobProperty>
   8       <priority>100</priority>
   9     </hudson.queueSorter.PrioritySorterJobProperty>
  10     <hudson.plugins.throttleconcurrents.ThrottleJobProperty>
  11       <maxConcurrentPerNode>0</maxConcurrentPerNode>
  12       <maxConcurrentTotal>0</maxConcurrentTotal>
  13       <throttleEnabled>false</throttleEnabled>
  14       <throttleOption>project</throttleOption>
  15     </hudson.plugins.throttleconcurrents.ThrottleJobProperty>
  16     <hudson.plugins.build__publisher.ExternalProjectProperty/>
  17   </properties>
  18   <scm class="hudson.scm.NullSCM"/>
  19   <canRoam>true</canRoam>
  20   <disabled>false</disabled>
  21   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  22   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  23   <triggers class="vector">
  24     <hudson.triggers.TimerTrigger>
  25       <spec>7 17 * * *</spec>
  26     </hudson.triggers.TimerTrigger>
  27   </triggers>
  28   <concurrentBuild>false</concurrentBuild>
  29   <axes>
  30     <hudson.matrix.LabelAxis>
  31       <name>ARCH</name>
  32       <values>
  33         <string>amd64</string>
  34         <string>i386</string>
  35       </values>
  36     </hudson.matrix.LabelAxis>
  37     <hudson.matrix.LabelAxis>
  38       <name>LTS</name>
  39       <values>
  40         <string>non-lts</string>
  41       </values>
  42     </hudson.matrix.LabelAxis>
  43     <hudson.matrix.TextAxis>
  44       <name>PROFILE</name>
  45       <values>
  46         <string>desktop</string>
  47       </values>
  48     </hudson.matrix.TextAxis>
  49     <hudson.matrix.LabelAxis>
  50       <name>label</name>
  51       <values>
  52         <string>upgrade-test</string>
  53       </values>
  54     </hudson.matrix.LabelAxis>
  55   </axes>
  56   <builders>
  57     <hudson.tasks.Shell>
  58       <command>#!/bin/sh -x
  59 # Purge any existing data in the workspace
  60 rm -Rf *
  61 
  62 LTSPREFIX=&quot;&quot;
  63 ARCHEXT=&quot;&quot;
  64 RELEASE=&quot;quantal&quot;
  65 BASEDIR=$HOME/auto-upgrade-testing
  66 
  67 if [ &quot;$LTS&quot; = &quot;non-lts&quot; ]; then
  68     LTSPREFIX=&quot;&quot;
  69 else
  70     LTSPREFIX=&quot;lts-&quot;
  71 fi
  72 
  73 ARCHEXT=$ARCH
  74 PROFILENAME=${RELEASE}-${LTSPREFIX}${PROFILE}-$ARCH
  75 
  76 if [ &quot;$ARCH&quot; = &quot;i386&quot; ]; then
  77   if [ ! -e &quot;$BASEDIR/share/profiles/$PROFILENAME&quot; ]; then
  78       PROFILENAME=${RELEASE}-${LTSPREFIX}${PROFILE}
  79   fi
  80 fi
  81 
  82 echo &quot;Running profile $PROFILENAME&quot;
  83 
  84 env
  85 
  86 cd $BASEDIR
  87 python bin/auto-upgrade-tester share/profiles/$PROFILENAME
  88 cp -ar $HOME/auto-upgrade-tester/result/$PROFILENAME/ $WORKSPACE
  89 </command>
  90     </hudson.tasks.Shell>
  91   </builders>
  92   <publishers>
  93     <hudson.tasks.ArtifactArchiver>
  94       <artifacts>**</artifacts>
  95       <latestOnly>false</latestOnly>
  96     </hudson.tasks.ArtifactArchiver>
  97     <hudson.tasks.junit.JUnitResultArchiver>
  98       <testResults>**/*.xml</testResults>
  99       <keepLongStdio>false</keepLongStdio>
 100       <testDataPublishers/>
 101     </hudson.tasks.junit.JUnitResultArchiver>
 102     <hudson.tasks.Mailer>
 103       <recipients></recipients>
 104       <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
 105       <sendToIndividuals>false</sendToIndividuals>
 106     </hudson.tasks.Mailer>
 107     <hudson.plugins.build__publisher.BuildPublisher>
 108       <publishUnstableBuilds>true</publishUnstableBuilds>
 109       <publishFailedBuilds>true</publishFailedBuilds>
 110       <postActions class="vector"/>
 111     </hudson.plugins.build__publisher.BuildPublisher>
 112   </publishers>
 113   <buildWrappers/>
 114   <runSequentially>false</runSequentially>
 115 </matrix-project>

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-06-15 12:34:00, 3.5 KB) [[attachment:quantal-upgrade-precise-desktop.config.xml]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.