|
|
|
<?xml version='1.1' encoding='UTF-8'?>
|
|
|
|
<project>
|
|
|
|
<actions/>
|
|
|
|
<description></description>
|
|
|
|
<keepDependencies>false</keepDependencies>
|
|
|
|
<properties/>
|
|
|
|
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.3">
|
|
|
|
<configVersion>2</configVersion>
|
|
|
|
<userRemoteConfigs>
|
|
|
|
<hudson.plugins.git.UserRemoteConfig>
|
|
|
|
<url>{{ PACKAGING_URL }}</url>
|
|
|
|
</hudson.plugins.git.UserRemoteConfig>
|
|
|
|
</userRemoteConfigs>
|
|
|
|
<branches>
|
|
|
|
<hudson.plugins.git.BranchSpec>
|
|
|
|
<name>*/{{ PACKAGING_BRANCH }}</name>
|
|
|
|
</hudson.plugins.git.BranchSpec>
|
|
|
|
</branches>
|
|
|
|
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
|
|
|
<submoduleCfg class="list"/>
|
|
|
|
<extensions/>
|
|
|
|
</scm>
|
|
|
|
<canRoam>true</canRoam>
|
|
|
|
<disabled>false</disabled>
|
|
|
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
|
|
<blockBuildWhenUpstreamBuilding>true</blockBuildWhenUpstreamBuilding>
|
|
|
|
<triggers>
|
|
|
|
<jenkins.triggers.ReverseBuildTrigger>
|
|
|
|
<spec></spec>
|
|
|
|
<upstreamProjects>jobgenerator</upstreamProjects>
|
|
|
|
<threshold>
|
|
|
|
<name>SUCCESS</name>
|
|
|
|
<ordinal>0</ordinal>
|
|
|
|
<color>BLUE</color>
|
|
|
|
<completeBuild>true</completeBuild>
|
|
|
|
</threshold>
|
|
|
|
</jenkins.triggers.ReverseBuildTrigger>
|
|
|
|
</triggers>
|
|
|
|
<concurrentBuild>false</concurrentBuild>
|
|
|
|
<builders>
|
|
|
|
<hudson.tasks.Shell>
|
|
|
|
<command>
|
|
|
|
mkdir {{ NAME }};
|
|
|
|
mv -v debian {{ NAME }};
|
|
|
|
git clone {{ UPSTREAM_URL }} upstream;
|
|
|
|
export VERSION="$(head -1 {{ NAME }}/debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)+git$(date +'%Y%m%d%H%M')";
|
|
|
|
sed -i "1i{{ NAME }} ($VERSION-0ubuntu1~ppa1) {{ RELEASE }}; urgency=low\n\n * CI upload.\n\n –– Lugito <info@lubuntu.me> $(date +'%a, %d %b %Y %T %z')\n" {{ NAME }}/debian/changelog;
|
|
|
|
tar cvf {{ NAME }}_$VERSION.orig.tar;
|
|
|
|
gzip {{ NAME }}_$VERSION.orig.tar;
|
|
|
|
(cd {{ NAME }}; debuild -S -d -sa; dput {{ UPLOAD_TARGET }} ../{{ NAME }}_$VERSION-0ubuntu1~ppa1_source.changes)
|
|
|
|
</command>
|
|
|
|
</hudson.tasks.Shell>
|
|
|
|
</builders>
|
|
|
|
<publishers>
|
|
|
|
<hudson.plugins.ws__cleanup.WsCleanup plugin="ws-cleanup@0.37">
|
|
|
|
<patterns class="empty-list"/>
|
|
|
|
<deleteDirs>false</deleteDirs>
|
|
|
|
<skipWhenFailed>false</skipWhenFailed>
|
|
|
|
<cleanWhenSuccess>true</cleanWhenSuccess>
|
|
|
|
<cleanWhenUnstable>true</cleanWhenUnstable>
|
|
|
|
<cleanWhenFailure>true</cleanWhenFailure>
|
|
|
|
<cleanWhenNotBuilt>true</cleanWhenNotBuilt>
|
|
|
|
<cleanWhenAborted>true</cleanWhenAborted>
|
|
|
|
<notFailBuild>false</notFailBuild>
|
|
|
|
<cleanupMatrixParent>false</cleanupMatrixParent>
|
|
|
|
<externalDelete></externalDelete>
|
|
|
|
<disableDeferredWipeout>false</disableDeferredWipeout>
|
|
|
|
</hudson.plugins.ws__cleanup.WsCleanup>
|
|
|
|
</publishers>
|
|
|
|
<buildWrappers/>
|
|
|
|
</project>
|