devuan-releasebot

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

repos-config.xml (4637B)


      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>3</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.scm.NullSCM"/>
     29   <assignedNode>repository</assignedNode>
     30   <canRoam>false</canRoam>
     31   <disabled>false</disabled>
     32   <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
     33   <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
     34   <triggers/>
     35   <concurrentBuild>false</concurrentBuild>
     36   <builders>
     37     <hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.34">
     38       <project>{{{PKGNAME}}}-binaries</project>
     39       <parameters>codename=$codename</parameters>
     40       <filter>*</filter>
     41       <target></target>
     42       <excludes></excludes>
     43       <selector class="hudson.plugins.copyartifact.TriggeredBuildSelector">
     44         <fallbackToLastSuccessful>true</fallbackToLastSuccessful>
     45         <upstreamFilterStrategy>UseGlobalSetting</upstreamFilterStrategy>
     46       </selector>
     47       <doNotFingerprintArtifacts>false</doNotFingerprintArtifacts>
     48     </hudson.plugins.copyartifact.CopyArtifact>
     49     <hudson.plugins.copyartifact.CopyArtifact plugin="copyartifact@1.34">
     50       <project>{{{PKGNAME}}}-source</project>
     51       <parameters>codename=$codename</parameters>
     52       <filter>*</filter>
     53       <target>architecture=source,label=source</target>
     54       <excludes></excludes>
     55       <selector class="hudson.plugins.copyartifact.StatusBuildSelector">
     56         <stable>true</stable>
     57       </selector>
     58       <doNotFingerprintArtifacts>false</doNotFingerprintArtifacts>
     59     </hudson.plugins.copyartifact.CopyArtifact>
     60     <hudson.tasks.Shell>
     61       <command>if [ -n &quot;$gitlabBranch&quot; ] ; then 
     62   export codename=$gitlabBranch
     63 fi
     64 . /etc/jenkins/debian_glue
     65 export KEY_ID
     66 for i in architecture* ; do
     67 	#cp $i/* .
     68     cd $i
     69     debsign --no-re-sign -k$KEY_ID *.changes || true
     70     debsign --no-re-sign -k$KEY_ID *.dsc || true
     71     cd ..
     72 done
     73 #find . -type d -name &apos;architecture*&apos; | xargs rm -r
     74 
     75 #debsign --no-re-sign -k$KEY_ID *.changes
     76 #debsign --no-re-sign -k$KEY_ID *.dsc
     77 ssh dak@repo.devuan.org mkdir /home/dak/jenkins/$BUILD_TAG
     78 scp -r * dak@repo.devuan.org:/home/dak/jenkins/$BUILD_TAG
     79 ssh dak@repo.devuan.org dak_add_pkgs -s $codename -c main $BUILD_TAG 
     80 env</command>
     81     </hudson.tasks.Shell>
     82   </builders>
     83   <publishers>
     84     <hudson.tasks.ArtifactArchiver>
     85       <artifacts>*/*</artifacts>
     86       <allowEmptyArchive>false</allowEmptyArchive>
     87       <onlyIfSuccessful>false</onlyIfSuccessful>
     88       <fingerprint>false</fingerprint>
     89       <defaultExcludes>true</defaultExcludes>
     90     </hudson.tasks.ArtifactArchiver>
     91     <hudson.plugins.ircbot.IrcPublisher plugin="ircbot@2.25">
     92       <targets class="empty-list"/>
     93       <strategy>ALL</strategy>
     94       <notifyOnBuildStart>false</notifyOnBuildStart>
     95       <notifySuspects>false</notifySuspects>
     96       <notifyCulprits>false</notifyCulprits>
     97       <notifyFixers>false</notifyFixers>
     98       <notifyUpstreamCommitters>false</notifyUpstreamCommitters>
     99       <buildToChatNotifier class="hudson.plugins.im.build_notify.DefaultBuildToChatNotifier" plugin="instant-messaging@1.32"/>
    100       <matrixMultiplier>ONLY_CONFIGURATIONS</matrixMultiplier>
    101       <channels/>
    102     </hudson.plugins.ircbot.IrcPublisher>
    103   </publishers>
    104   <buildWrappers>
    105     <hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup@0.25">
    106       <deleteDirs>false</deleteDirs>
    107       <cleanupParameter></cleanupParameter>
    108       <externalDelete></externalDelete>
    109     </hudson.plugins.ws__cleanup.PreBuildCleanup>
    110     <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper@1.5.15"/>
    111   </buildWrappers>
    112 </project>