devuan-releasebot

devuan's releasebot reimplemented (scorsh version)
git clone git://parazyd.org/devuan-releasebot.git
Log | Files | Refs | LICENSE

binaries-config.xml (6657B)


      1 <?xml version='1.0' encoding='UTF-8'?>
      2 <matrix-project plugin="matrix-project@1.4">
      3   <actions/>
      4   <description>{{{DESCRIPTION}}}</description>
      5   <logRotator class="hudson.tasks.LogRotator">
      6     <daysToKeep>-1</daysToKeep>
      7     <numToKeep>5</numToKeep>
      8     <artifactDaysToKeep>-1</artifactDaysToKeep>
      9     <artifactNumToKeep>-1</artifactNumToKeep>
     10   </logRotator>
     11   <keepDependencies>false</keepDependencies>
     12   <properties>
     13     <com.suryagaddipati.jenkins.SlaveUtilizationProperty plugin="slave-utilization-plugin@1.8">
     14       <needsExclusiveAccessToNode>false</needsExclusiveAccessToNode>
     15       <singleInstancePerSlave>false</singleInstancePerSlave>
     16       <slaveUtilizationPercentage>0</slaveUtilizationPercentage>
     17     </com.suryagaddipati.jenkins.SlaveUtilizationProperty>
     18     <hudson.model.ParametersDefinitionProperty>
     19       <parameterDefinitions>
     20         <hudson.model.TextParameterDefinition>
     21           <name>codename</name>
     22           <description></description>
     23           <defaultValue>experimental</defaultValue>
     24         </hudson.model.TextParameterDefinition>
     25       </parameterDefinitions>
     26     </hudson.model.ParametersDefinitionProperty>
     27   </properties>
     28   <scm class="hudson.scm.NullSCM"/>
     29   <canRoam>true</canRoam>
     30   <disabled>false</disabled>
     31   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
     32   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
     33   <triggers/>
     34   <concurrentBuild>false</concurrentBuild>
     35   <axes>
     36     <hudson.matrix.TextAxis>
     37       <name>architecture</name>
     38       <values>
     39 {{{ARCHITECTURES}}}
     40       </values>
     41     </hudson.matrix.TextAxis>
     42     <hudson.matrix.LabelAxis>
     43       <name>label</name>
     44       <values>
     45 {{{LABELS}}}
     46       </values>
     47     </hudson.matrix.LabelAxis>
     48   </axes>
     49   <combinationFilter>(label=="all").implies(architecture=="all") &amp;&amp; (label=="amd64").implies(architecture=="amd64") &amp;&amp; (label=="i386").implies(architecture=="i386") &amp;&amp; (label=="armel").implies(architecture=="armel") &amp;&amp; (label=="armhf").implies(architecture=="armhf") &amp;&amp; (label=="sparc64").implies(architecture=="sparc64") &amp;&amp; (label=="s390x").implies(architecture=="s390x") &amp;&amp; (label=="ppc64el").implies(architecture=="ppc64el") &amp;&amp; (label=="powerpc").implies(architecture=="powerpc") &amp;&amp; (label=="or1k").implies(architecture=="or1k") &amp;&amp; (label=="mipsel").implies(architecture=="mipsel") &amp;&amp; (label=="mips").implies(architecture=="mips") &amp;&amp; (label=="m68k").implies(architecture=="m68k") &amp;&amp; (label=="m32").implies(architecture=="m32") &amp;&amp; (label=="ia64").implies(architecture=="ia64") &amp;&amp; (label=="hppa").implies(architecture=="hppa") &amp;&amp; (label=="alpha").implies(architecture=="alpha") &amp;&amp; (label=="arm64").implies(architecture=="arm64") &amp;&amp; (label=="sparc").implies(architecture=="sparc") &amp;&amp; (label=="armhf_qemusys").implies(architecture=="armhf") &amp;&amp; (label=="arm64_qemusys").implies(architecture=="arm64") &amp;&amp; (label=="armel_qemusys").implies(architecture=="armel")</combinationFilter>
     50   <builders>
     51     <hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.34">
     52       <project>{{{PKGNAME}}}-source</project>
     53       <parameters>codename=$codename</parameters>
     54       <filter>*</filter>
     55       <target></target>
     56       <excludes>*source.changes</excludes>
     57       <selector class="hudson.plugins.copyartifact.TriggeredBuildSelector">
     58         <fallbackToLastSuccessful>true</fallbackToLastSuccessful>
     59         <upstreamFilterStrategy>UseGlobalSetting</upstreamFilterStrategy>
     60       </selector>
     61       <doNotFingerprintArtifacts>false</doNotFingerprintArtifacts>
     62     </hudson.plugins.copyartifact.CopyArtifact>
     63     <hudson.tasks.Shell>
     64       <command>export BUILD_ONLY=true
     65 export SUDO_CMD=sudo
     66 if [ -n &quot;$gitlabBranch&quot; ] ; then 
     67   export codename=$gitlabBranch
     68 fi
     69 codename=${codename%%-proposed}
     70 if [ &quot;$codename&quot; = &quot;experimental&quot; ] ; then
     71 	export distribution=&quot;unstable&quot;
     72 else
     73 	export distribution=$codename
     74 fi
     75 {{{BUILD_ADDVAR}}}
     76 export FORCE_BINARY_ONLY=$label
     77 /usr/bin/build-and-provide-package
     78 # when using subversion:
     79 # /usr/bin/generate-svn-snapshot
     80 env</command>
     81     </hudson.tasks.Shell>
     82     <hudson.tasks.Shell>
     83       <command>mkdir -p report
     84 # For the source package:
     85 /usr/bin/lintian-junit-report *.dsc &gt; report/lintian.xml
     86 # or, for the binary package:
     87 /usr/bin/lintian-junit-report *.changes &gt; report/lintian.xml</command>
     88     </hudson.tasks.Shell>
     89   </builders>
     90   <publishers>
     91     <hudson.tasks.ArtifactArchiver>
     92       <artifacts>*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.udeb,*.git</artifacts>
     93       <allowEmptyArchive>false</allowEmptyArchive>
     94       <onlyIfSuccessful>false</onlyIfSuccessful>
     95       <fingerprint>false</fingerprint>
     96       <defaultExcludes>true</defaultExcludes>
     97     </hudson.tasks.ArtifactArchiver>
     98     <hudson.plugins.ircbot.IrcPublisher plugin="ircbot@2.25">
     99       <targets class="empty-list"/>
    100       <strategy>ALL</strategy>
    101       <notifyOnBuildStart>false</notifyOnBuildStart>
    102       <notifySuspects>false</notifySuspects>
    103       <notifyCulprits>false</notifyCulprits>
    104       <notifyFixers>false</notifyFixers>
    105       <notifyUpstreamCommitters>false</notifyUpstreamCommitters>
    106       <buildToChatNotifier class="hudson.plugins.im.build_notify.DefaultBuildToChatNotifier" plugin="instant-messaging@1.32"/>
    107       <matrixMultiplier>ONLY_CONFIGURATIONS</matrixMultiplier>
    108       <channels/>
    109     </hudson.plugins.ircbot.IrcPublisher>
    110     <hudson.plugins.parameterizedtrigger.BuildTrigger plugin="parameterized-trigger@2.25">
    111       <configs>
    112         <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
    113           <configs>
    114             <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
    115           </configs>
    116           <projects>{{{PKGNAME}}}-repos</projects>
    117           <condition>ALWAYS</condition>
    118           <triggerWithNoParameters>false</triggerWithNoParameters>
    119         </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
    120       </configs>
    121     </hudson.plugins.parameterizedtrigger.BuildTrigger>
    122   </publishers>
    123   <buildWrappers>
    124     <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.25">
    125       <deleteDirs>false</deleteDirs>
    126       <cleanupParameter></cleanupParameter>
    127       <externalDelete></externalDelete>
    128     </hudson.plugins.ws__cleanup.PreBuildCleanup>
    129     <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.5.15"/>
    130   </buildWrappers>
    131   <executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
    132     <runSequentially>{{{RUNSEQUENTIAL}}}</runSequentially>
    133   </executionStrategy>
    134 </matrix-project>