You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
3.3 KiB
82 lines
3.3 KiB
<?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>
|
|
<hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
|
|
<relativeTargetDir>{{ NAME }}</relativeTargetDir>
|
|
</hudson.plugins.git.extensions.impl.RelativeTargetDirectory>
|
|
</extensions>
|
|
</scm>
|
|
<canRoam>true</canRoam>
|
|
<disabled>false</disabled>
|
|
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
|
<blockBuildWhenUpstreamBuilding>true</blockBuildWhenUpstreamBuilding>
|
|
<triggers>
|
|
<jenkins.triggers.ReverseBuildTrigger>
|
|
<spec></spec>
|
|
<upstreamProjects>merger_{{ NAME }}</upstreamProjects>
|
|
<threshold>
|
|
<name>SUCCESS</name>
|
|
<ordinal>0</ordinal>
|
|
<color>BLUE</color>
|
|
<completeBuild>true</completeBuild>
|
|
</threshold>
|
|
</jenkins.triggers.ReverseBuildTrigger>
|
|
<hudson.triggers.SCMTrigger>
|
|
<spec>*/5 * * * *</spec>
|
|
<ignorePostCommitHooks>false</ignorePostCommitHooks>
|
|
</hudson.triggers.SCMTrigger>
|
|
</triggers>
|
|
<concurrentBuild>false</concurrentBuild>
|
|
<builders>
|
|
<hudson.tasks.Shell>
|
|
<command>
|
|
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')~{{ RELEASE }}";
|
|
export DEBFULLNAME="Lugito"
|
|
export DEBEMAIL="info@lubuntu.me"
|
|
tar cvf {{ NAME }}_$VERSION.orig.tar upstream;
|
|
gzip {{ NAME }}_$VERSION.orig.tar;
|
|
(cd {{ NAME }}; dch --distribution {{ RELEASE }} --package "{{ NAME }}" --newversion "$VERSION-0ubuntu1~ppa1" "CI upload."; debuild -S -d -sa -k234778F3D70C2B9785EB7426E7BE29862BE6F574; dput {{ UPLOAD_TARGET }} ../{{ NAME }}_$VERSION-0ubuntu1~ppa1_source.changes)
|
|
sleep 2m;
|
|
git clone https://phab.lubuntu.me/source/ci-tooling.git tooling;
|
|
./tooling/ci/lp_check.py -p {{ NAME }} -v $VERSION-0ubuntu1~ppa1 -t lubuntu-ci -r unstable-ci-proposed;
|
|
</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>
|