devuan-releasebot

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

source-config.xml (4850B)


      1 <?xml version='1.0' encoding='UTF-8'?>
      2 <project>
      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.StringParameterDefinition>
     21           <name>codename</name>
     22           <description></description>
     23           <defaultValue>experimental</defaultValue>
     24         </hudson.model.StringParameterDefinition>
     25       </parameterDefinitions>
     26     </hudson.model.ParametersDefinitionProperty>
     27   </properties>
     28   <scm class="hudson.plugins.git.GitSCM" plugin="git@2.3.4">
     29     <configVersion>2</configVersion>
     30     <userRemoteConfigs>
     31       <hudson.plugins.git.UserRemoteConfig>
     32         <url>{{{GIT_URI}}}</url>
     33         <credentialsId>{{{GIT_CREDENTIALS}}}</credentialsId>
     34       </hudson.plugins.git.UserRemoteConfig>
     35     </userRemoteConfigs>
     36     <branches>
     37       <hudson.plugins.git.BranchSpec>
     38         <name>*/suites/$codename</name>
     39       </hudson.plugins.git.BranchSpec>
     40     </branches>
     41     <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
     42     <submoduleCfg class="list"/>
     43     <extensions>
     44       <hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
     45         <relativeTargetDir>source</relativeTargetDir>
     46       </hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
     47     </extensions>
     48   </scm>
     49   <assignedNode>keysign</assignedNode>
     50   <canRoam>false</canRoam>
     51   <disabled>false</disabled>
     52   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
     53   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
     54   <triggers/>
     55   <concurrentBuild>false</concurrentBuild>
     56   <builders>
     57     <hudson.tasks.Shell>
     58       <command>if [ -n &quot;$gitlabBranch&quot; ] ; then 
     59   export codename=$gitlabBranch
     60 fi
     61 # when using git:
     62 export SKIP_DCH=true
     63 export KEEP_SOURCE_CHANGES=true
     64 /usr/bin/generate-git-snapshot
     65 
     66 # when using subversion:
     67 # /usr/bin/generate-svn-snapshot
     68 env</command>
     69     </hudson.tasks.Shell>
     70     <hudson.tasks.Shell>
     71       <command>mkdir -p report
     72 # For the source package:
     73 /usr/bin/lintian-junit-report *.dsc &gt; report/lintian.xml
     74 # or, for the binary package:
     75 /usr/bin/lintian-junit-report *.changes &gt; report/lintian.xml</command>
     76     </hudson.tasks.Shell>
     77   </builders>
     78   <publishers>
     79     <hudson.tasks.ArtifactArchiver>
     80       <artifacts>*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,lintian.txt,*udeb,*.git</artifacts>
     81       <allowEmptyArchive>false</allowEmptyArchive>
     82       <onlyIfSuccessful>false</onlyIfSuccessful>
     83       <fingerprint>true</fingerprint>
     84       <defaultExcludes>true</defaultExcludes>
     85     </hudson.tasks.ArtifactArchiver>
     86     <hudson.plugins.ircbot.IrcPublisher plugin="ircbot@2.25">
     87       <targets class="empty-list"/>
     88       <strategy>ALL</strategy>
     89       <notifyOnBuildStart>false</notifyOnBuildStart>
     90       <notifySuspects>false</notifySuspects>
     91       <notifyCulprits>false</notifyCulprits>
     92       <notifyFixers>false</notifyFixers>
     93       <notifyUpstreamCommitters>false</notifyUpstreamCommitters>
     94       <buildToChatNotifier class="hudson.plugins.im.build_notify.DefaultBuildToChatNotifier" plugin="instant-messaging@1.32"/>
     95       <matrixMultiplier>ONLY_CONFIGURATIONS</matrixMultiplier>
     96       <channels/>
     97     </hudson.plugins.ircbot.IrcPublisher>
     98     <hudson.plugins.parameterizedtrigger.BuildTrigger plugin="parameterized-trigger@2.25">
     99       <configs>
    100         <hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
    101           <configs>
    102             <hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
    103           </configs>
    104           <projects>{{{PKGNAME}}}-binaries</projects>
    105           <condition>SUCCESS</condition>
    106           <triggerWithNoParameters>false</triggerWithNoParameters>
    107         </hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
    108       </configs>
    109     </hudson.plugins.parameterizedtrigger.BuildTrigger>
    110   </publishers>
    111   <buildWrappers>
    112     <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.25">
    113       <deleteDirs>false</deleteDirs>
    114       <cleanupParameter></cleanupParameter>
    115       <externalDelete></externalDelete>
    116     </hudson.plugins.ws__cleanup.PreBuildCleanup>
    117     <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.5.15"/>
    118   </buildWrappers>
    119 </project>