jenkins: Add some templates to create jobs automatically
This commit is contained in:
parent
5bbba9e17c
commit
aca779cdc5
|
@ -3,3 +3,4 @@ git/
|
|||
build.*
|
||||
*.sw?
|
||||
downloads/
|
||||
jenkins/*.xml
|
||||
|
|
16
Makefile
16
Makefile
|
@ -38,6 +38,10 @@ BUILD_TARGET_sysmocom-alix = "core-image-minimal-initramfs meta-toolchain-osmo t
|
|||
# approiate here or not.
|
||||
BUILD_TARGETS="$(BUILD_TARGET_$(CUR_MACHINE))"
|
||||
|
||||
# Jenkins jobs...
|
||||
JOB_FILES=merge_diff.xml nightly.xml show_diff.xml test_upgrade_alix.xml test_upgrade_apu2.xml testbranch.xml testing.xml
|
||||
SED=sed
|
||||
|
||||
#
|
||||
usage:
|
||||
@echo "Pick a target like help, update or sysmocom-alix-setup"
|
||||
|
@ -168,6 +172,16 @@ endif
|
|||
@echo " Port = $(SSH_PORT)" >> $(HOME)/.ssh/config
|
||||
@echo " AddressFamily = inet" >> $(HOME)/.ssh/config
|
||||
@echo " User = $(SSH_USER)" >> $(HOME)/.ssh/config
|
||||
|
||||
# Create jenkin job xmls
|
||||
create-jenkins-jobs:
|
||||
$(Q)$(foreach file, $(JOB_FILES), \
|
||||
cat jenkins/job_templates/$(file) | \
|
||||
$(SED) \
|
||||
-e s,PLACEHOLDER_SYSMOCOM_RELEASE,$(SYSMOCOM_RELEASE),g \
|
||||
-e s,PLACEHOLDER_POKY_RELEASE,$(POKY_RELEASE),g > jenkins/$(file); \
|
||||
)
|
||||
|
||||
# Target classification
|
||||
.PHONY: update setup-all install-ssh-config
|
||||
.PHONY: update setup-all install-ssh-config create-jenkins-jobs
|
||||
.SECONDARY: $(foreach repo, $(REPOS), git/$(repo)) $(foreach machine, $(MACHINES), build.$(machine))
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<project>
|
||||
<actions/>
|
||||
<description>Show the files diff between PLACEHOLDER_SYSMOCOM_RELEASE-testing and PLACEHOLDER_SYSMOCOM_RELEASE</description>
|
||||
<logRotator class="hudson.tasks.LogRotator">
|
||||
<daysToKeep>-1</daysToKeep>
|
||||
<numToKeep>90</numToKeep>
|
||||
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||
</logRotator>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties/>
|
||||
<scm class="hudson.scm.NullSCM"/>
|
||||
<canRoam>true</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers/>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "merge-testing sysmobts PLACEHOLDER_SYSMOCOM_RELEASE"
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "merge-testing sysmobts2100 PLACEHOLDER_SYSMOCOM_RELEASE"
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "merge-testing sysmocom-alix PLACEHOLDER_SYSMOCOM_RELEASE"
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "merge-testing sysmocom-apu2 PLACEHOLDER_SYSMOCOM_RELEASE"
|
||||
</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers/>
|
||||
<buildWrappers/>
|
||||
</project>
|
|
@ -0,0 +1,303 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<matrix-project plugin="matrix-project@1.2">
|
||||
<actions/>
|
||||
<description><div><b>Creates official PLACEHOLDER_SYSMOCOM_RELEASE-nightly packages/images on downlaods.sysmocom.de</b></div>
|
||||
<div>
|
||||
Does this by using
|
||||
<ul>
|
||||
<li>latest <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=PLACEHOLDER_POKY_RELEASE"><i>PLACEHOLDER_POKY_RELEASE</i> of upstream poky (2.3)</a></li>
|
||||
<li>latest <a href="http://git.sysmocom.de/poky/meta-sysmocom-bsp/log/?h=laforge/nightly"><i>laforge/nightly</i> of meta-sysmocom-bsp</a></li>
|
||||
<li>latest <a href="https://github.com/sysmocom/meta-telephony/tree/laforge/nightly"><i>laforge/nightly</i> of meta-telephony</a></li>
|
||||
<li>latest <a href="https://github.com/sysmocom/meta-smalltalk"><i>master</i> of meta-smalltalk</a></li>
|
||||
</ul>
|
||||
</div></description>
|
||||
<logRotator class="hudson.tasks.LogRotator">
|
||||
<daysToKeep>90</daysToKeep>
|
||||
<numToKeep>90</numToKeep>
|
||||
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||
</logRotator>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties/>
|
||||
<scm class="org.jenkinsci.plugins.multiplescms.MultiSCM" plugin="multiple-scms@0.3">
|
||||
<scms>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.yoctoproject.org/poky.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_POKY_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>poky</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName>poky</scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.sysmocom.de/poky/meta-sysmocom-bsp</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/laforge/nightly</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>meta-sysmocom-bsp</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName>meta-sysmocom-bsp</scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.osmocom.org/meta-telephony.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/laforge/nightly</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>meta-telephony</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName>meta-telephony</scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://github.com/sysmocom/meta-smalltalk.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/master</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>meta-smalltalk</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName>meta-smalltalk</scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
</scms>
|
||||
</scm>
|
||||
<assignedNode>OE-Slave</assignedNode>
|
||||
<canRoam>false</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers>
|
||||
<hudson.triggers.TimerTrigger>
|
||||
<spec>0 3 * * *</spec>
|
||||
</hudson.triggers.TimerTrigger>
|
||||
</triggers>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<axes>
|
||||
<hudson.matrix.LabelAxis>
|
||||
<name>label</name>
|
||||
<values>
|
||||
<string>Debian8-AMD64</string>
|
||||
</values>
|
||||
</hudson.matrix.LabelAxis>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>machine</name>
|
||||
<values>
|
||||
<string>sysmobts-v2</string>
|
||||
<string>sysmobts2100</string>
|
||||
</values>
|
||||
</hudson.matrix.TextAxis>
|
||||
</axes>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>if [ $machine == "sysmobts-v2" ]; then
|
||||
CONF_PACKAGE_FEED_URIS="https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmobts/PLACEHOLDER_SYSMOCOM_RELEASE-nightly/ipk/"
|
||||
else
|
||||
CONF_PACKAGE_FEED_URIS="https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/${machine}/PLACEHOLDER_SYSMOCOM_RELEASE-nightly/ipk/"
|
||||
fi
|
||||
|
||||
|
||||
CREATE=0
|
||||
if [ ! -e build ]; then
|
||||
mkdir -p build/conf
|
||||
CREATE=1
|
||||
cat > build/conf/bblayers.conf <<EOF
|
||||
LCONF_VERSION = "6"
|
||||
|
||||
BBPATH = "\${TOPDIR}"
|
||||
BBFILES ?= ""
|
||||
|
||||
BBLAYERS ?= " \
|
||||
$PWD/poky/meta \
|
||||
$PWD/poky/meta-poky \
|
||||
$PWD/poky/meta-yocto-bsp \
|
||||
$PWD/meta-telephony \
|
||||
$PWD/meta-sysmocom-bsp \
|
||||
$PWD/meta-smalltalk \
|
||||
"
|
||||
BBLAYERS_NON_REMOVABLE ?= " \
|
||||
$PWD/poky/meta \
|
||||
$PWD/poky/meta-poky \
|
||||
"
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
# Switch to poky and prepare things
|
||||
cd poky
|
||||
|
||||
|
||||
# apply some hacks... due us supporting older versions
|
||||
sed -i s,'bb.error("Use of PRINC %s was d','bb.warn("Use of PRINC %s was d', meta/classes/base.bbclass
|
||||
|
||||
|
||||
. ./oe-init-build-env ../build
|
||||
|
||||
if [ $CREATE -eq 1 ]; then
|
||||
cat >> conf/local.conf <<EOF
|
||||
PATCHRESOLVE = "noop"
|
||||
PACKAGE_CLASSES = "package_ipk"
|
||||
DISTRO_FEATURES_append = " systemd "
|
||||
VIRTUAL-RUNTIME_init_manager = "systemd"
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
|
||||
DEBUGFILEDIRECTORY-dbg = "/usr/lib/debug"
|
||||
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
|
||||
PRSERV_HOST = "localhost:0"
|
||||
BBMASK="recipes-bsp/linux/linux-sysmocom_3.10.bb"
|
||||
INHERIT += " rm_work "
|
||||
ROOTFS_PKGMANAGE_BOOTSTRAP = ""
|
||||
PACKAGE_FEED_URIS = "${CONF_PACKAGE_FEED_URIS}"
|
||||
require conf/distro/include/sysmocom-defaults.conf
|
||||
EOF
|
||||
|
||||
if [ $machine == "sysmobts-v2" ]; then
|
||||
cat >> conf/local.conf <<EOF
|
||||
SRC_URI_pn-sysmobts-firmware = "https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmobts/firmware/sysmobts-firmware-superfemto_v\${PV}.tar.bz2"
|
||||
SRC_URI_pn-sbts2050-util = "https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmobts/firmware/sbts2050-util-\${PV}.tar.bz2"
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -f bitbake.lock
|
||||
rm -rf tmp
|
||||
rm -rf downloads
|
||||
|
||||
if [ $machine == "sysmobts2100" ]; then
|
||||
MACHINE=$machine bitbake u-boot-litecell15
|
||||
fi
|
||||
|
||||
# first build the non-rauc targets common to all machines
|
||||
MACHINE=$machine bitbake sysmocom-core-image smalltalk meta-toolchain-osmo task-sysmocom-feed
|
||||
|
||||
# then build RAUC only for sysmobts-v2
|
||||
if [ $machine == "sysmobts-v2" ]; then
|
||||
MACHINE=$machine bitbake image-rauc-slot-initramfs image-rauc-ubi rauc-native sysmocom-nitb-rauc-image
|
||||
fi
|
||||
|
||||
|
||||
../meta-sysmocom-bsp/upload_nightly.sh $machine
|
||||
../poky/scripts/sstate-cache-management.sh -d -y --cache-dir=./sstate-cache/
|
||||
rm -rf tmp downloads</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers>
|
||||
<hudson.tasks.Mailer plugin="mailer@1.8">
|
||||
<recipients>intern@lists.sysmocom.de</recipients>
|
||||
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
|
||||
<sendToIndividuals>false</sendToIndividuals>
|
||||
</hudson.tasks.Mailer>
|
||||
</publishers>
|
||||
<buildWrappers/>
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
</matrix-project>
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<project>
|
||||
<actions/>
|
||||
<description>Show the files diff between PLACEHOLDER_SYSMOCOM_RELEASE-testing and PLACEHOLDER_SYSMOCOM_RELEASE</description>
|
||||
<logRotator class="hudson.tasks.LogRotator">
|
||||
<daysToKeep>-1</daysToKeep>
|
||||
<numToKeep>90</numToKeep>
|
||||
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||
</logRotator>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties/>
|
||||
<scm class="hudson.scm.NullSCM"/>
|
||||
<canRoam>true</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers/>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "diff-testing sysmobts PLACEHOLDER_SYSMOCOM_RELEASE"
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "diff-testing sysmobts2100 PLACEHOLDER_SYSMOCOM_RELEASE"
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "diff-testing sysmocom-alix PLACEHOLDER_SYSMOCOM_RELEASE"
|
||||
ssh -i ~/.ssh/id_rsa_downloads -p41 generic@downloads.sysmocom.de "diff-testing sysmocom-apu2 PLACEHOLDER_SYSMOCOM_RELEASE"</command>
|
||||
</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers/>
|
||||
<buildWrappers/>
|
||||
</project>
|
|
@ -0,0 +1,81 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<project>
|
||||
<actions/>
|
||||
<description>Test upgrading from current to the next image!</description>
|
||||
<logRotator class="hudson.tasks.LogRotator">
|
||||
<daysToKeep>30</daysToKeep>
|
||||
<numToKeep>90</numToKeep>
|
||||
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||
</logRotator>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties/>
|
||||
<scm class="hudson.plugins.git.GitSCM" plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>ssh://git@git.admin.sysmocom.de/sysmocom/poky-qa</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/master</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>true</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</scm>
|
||||
<canRoam>true</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers>
|
||||
<hudson.triggers.TimerTrigger>
|
||||
<spec>H H * * *</spec>
|
||||
</hudson.triggers.TimerTrigger>
|
||||
</triggers>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>export SYSTEM_RELEASE=PLACEHOLDER_SYSMOCOM_RELEASE
|
||||
rm -f bzImage sysmocom-nitb-image-sysmocom-bsc.ext4
|
||||
|
||||
wget https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmocom-alix/PLACEHOLDER_SYSMOCOM_RELEASE-testing/images/sysmocom-alix/bzImage
|
||||
wget https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmocom-alix/PLACEHOLDER_SYSMOCOM_RELEASE/images/sysmocom-alix/sysmocom-core-image-sysmocom-alix.ext4
|
||||
|
||||
mv sysmocom-core-image-sysmocom-alix.ext4 sysmocom-nitb-image-sysmocom-bsc.ext4
|
||||
|
||||
python2 test-bsc.py</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers>
|
||||
<hudson.tasks.junit.JUnitResultArchiver>
|
||||
<testResults>TEST-TestBSC-res.xml</testResults>
|
||||
<keepLongStdio>false</keepLongStdio>
|
||||
<testDataPublishers/>
|
||||
</hudson.tasks.junit.JUnitResultArchiver>
|
||||
</publishers>
|
||||
<buildWrappers/>
|
||||
</project>
|
|
@ -0,0 +1,81 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<project>
|
||||
<actions/>
|
||||
<description>Test upgrading from current to the next image!</description>
|
||||
<logRotator class="hudson.tasks.LogRotator">
|
||||
<daysToKeep>30</daysToKeep>
|
||||
<numToKeep>90</numToKeep>
|
||||
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||
</logRotator>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties/>
|
||||
<scm class="hudson.plugins.git.GitSCM" plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>ssh://git@git.admin.sysmocom.de/sysmocom/poky-qa</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/master</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>true</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</scm>
|
||||
<canRoam>true</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers>
|
||||
<hudson.triggers.TimerTrigger>
|
||||
<spec>H H * * *</spec>
|
||||
</hudson.triggers.TimerTrigger>
|
||||
</triggers>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>export SYSTEM_RELEASE=PLACEHOLDER_SYSMOCOM_RELEASE
|
||||
rm -f bzImage sysmocom-nitb-image-sysmocom-bsc.ext4
|
||||
|
||||
wget https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmocom-apu2/PLACEHOLDER_SYSMOCOM_RELEASE-testing/images/sysmocom-apu2/bzImage
|
||||
wget https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmocom-apu2/PLACEHOLDER_SYSMOCOM_RELEASE/images/sysmocom-apu2/sysmocom-core-image-sysmocom-apu2.ext4
|
||||
|
||||
mv sysmocom-core-image-sysmocom-apu2.ext4 sysmocom-nitb-image-sysmocom-bsc.ext4
|
||||
|
||||
python2 test-bsc.py</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers>
|
||||
<hudson.tasks.junit.JUnitResultArchiver>
|
||||
<testResults>TEST-TestBSC-res.xml</testResults>
|
||||
<keepLongStdio>false</keepLongStdio>
|
||||
<testDataPublishers/>
|
||||
</hudson.tasks.junit.JUnitResultArchiver>
|
||||
</publishers>
|
||||
<buildWrappers/>
|
||||
</project>
|
|
@ -0,0 +1,330 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<project>
|
||||
<actions/>
|
||||
<description>Test a branch for a given machine on the CI environment.</description>
|
||||
<logRotator class="hudson.tasks.LogRotator">
|
||||
<daysToKeep>30</daysToKeep>
|
||||
<numToKeep>100</numToKeep>
|
||||
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||
</logRotator>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties>
|
||||
<hudson.model.ParametersDefinitionProperty>
|
||||
<parameterDefinitions>
|
||||
<hudson.model.ChoiceParameterDefinition>
|
||||
<name>Machine</name>
|
||||
<description></description>
|
||||
<choices class="java.util.Arrays$ArrayList">
|
||||
<a class="string-array">
|
||||
<string>sysmobts</string>
|
||||
<string>sysmobts2100</string>
|
||||
<string>sysmocom-apu2</string>
|
||||
<string>sysmocom-alix2</string>
|
||||
</a>
|
||||
</choices>
|
||||
</hudson.model.ChoiceParameterDefinition>
|
||||
<hudson.model.StringParameterDefinition>
|
||||
<name>poky</name>
|
||||
<description></description>
|
||||
<defaultValue>PLACEHOLDER_POKY_RELEASE</defaultValue>
|
||||
</hudson.model.StringParameterDefinition>
|
||||
<hudson.model.StringParameterDefinition>
|
||||
<name>telephony</name>
|
||||
<description></description>
|
||||
<defaultValue>PLACEHOLDER_SYSMOCOM_RELEASE</defaultValue>
|
||||
</hudson.model.StringParameterDefinition>
|
||||
<hudson.model.StringParameterDefinition>
|
||||
<name>bsp</name>
|
||||
<description></description>
|
||||
<defaultValue>PLACEHOLDER_SYSMOCOM_RELEASE</defaultValue>
|
||||
</hudson.model.StringParameterDefinition>
|
||||
<hudson.model.StringParameterDefinition>
|
||||
<name>smalltalk</name>
|
||||
<description></description>
|
||||
<defaultValue>PLACEHOLDER_SYSMOCOM_RELEASE</defaultValue>
|
||||
</hudson.model.StringParameterDefinition>
|
||||
<hudson.model.StringParameterDefinition>
|
||||
<name>qt5</name>
|
||||
<description></description>
|
||||
<defaultValue>PLACEHOLDER_SYSMOCOM_RELEASE</defaultValue>
|
||||
</hudson.model.StringParameterDefinition>
|
||||
<hudson.model.StringParameterDefinition>
|
||||
<name>systemimages</name>
|
||||
<description></description>
|
||||
<defaultValue>PLACEHOLDER_SYSMOCOM_RELEASE</defaultValue>
|
||||
</hudson.model.StringParameterDefinition>
|
||||
</parameterDefinitions>
|
||||
</hudson.model.ParametersDefinitionProperty>
|
||||
</properties>
|
||||
<scm class="org.jenkinsci.plugins.multiplescms.MultiSCM" plugin="multiple-scms@0.3">
|
||||
<scms>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.yoctoproject.org/poky</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_POKY_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>poky</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://github.com/sysmocom/meta-smalltalk.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>meta-smalltalk</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://github.com/sysmocom/meta-qt5.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>meta-qt5</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.sysmocom.de/poky/meta-sysmocom-bsp</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>meta-sysmocom-bsp</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.osmocom.org/meta-telephony</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>meta-telephony</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.sysmocom.de/poky/system-images</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>**</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir>system-images</relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
</scms>
|
||||
</scm>
|
||||
<assignedNode>Debian8-AMD64</assignedNode>
|
||||
<canRoam>false</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers/>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>env
|
||||
|
||||
|
||||
cd system-images
|
||||
rm -rf git/
|
||||
mkdir -p git/
|
||||
cd git
|
||||
|
||||
git clone -l --branch=${poky} --reference=../../poky `cd ../../poky && git config --get remote.origin.url`
|
||||
git clone -l --branch=${smalltalk} --reference=../../meta-smalltalk `cd ../../meta-smalltalk && git config --get remote.origin.url`
|
||||
git clone -l --branch=${qt5} --reference=../../meta-qt5 `cd ../../meta-qt5 && git config --get remote.origin.url`
|
||||
git clone -l --branch=${bsp} --reference=../../meta-sysmocom-bsp `cd ../../meta-sysmocom-bsp && git config --get remote.origin.url`
|
||||
git clone -l --branch=${telephony} --reference=../../meta-telephony `cd ../../meta-telephony && git config --get remote.origin.url`
|
||||
|
||||
cd ../
|
||||
pwd
|
||||
cat Makefile
|
||||
git reset --hard origin/${systemimages}
|
||||
echo 'SRC_URI_pn-sysmobts-firmware = "https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmobts/firmware/sysmobts-firmware-superfemto_v${PV}.tar.bz2"
|
||||
SRC_URI_pn-sbts2050-util = "https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/sysmobts/firmware/sbts2050-util-${PV}.tar.bz2"' > cfg/sysmobts/99_do_not_commit
|
||||
# keep sstate-cache
|
||||
rm -rf sstate-cache
|
||||
mv build.${Machine}/sstate-cache . || true
|
||||
rm -rf build.*
|
||||
make ${Machine}-setup
|
||||
mv sstate-cache build.${Machine}/ || true
|
||||
|
||||
|
||||
make ${Machine}-build
|
||||
make ${Machine}-clean
|
||||
rm -rf build.${Machine}/tmp</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers/>
|
||||
<buildWrappers/>
|
||||
</project>
|
|
@ -0,0 +1,243 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<project>
|
||||
<actions/>
|
||||
<description><div><b>Creates official PLACEHOLDER_SYSMOCOM_RELEASE-testing packages/images on downlaods.sysmocom.de</b></div>
|
||||
<div>
|
||||
Does this by using <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=PLACEHOLDER_POKY_RELEASE"><i>PLACEHOLDER_POKY_RELEASE</i> branch</a>,
|
||||
with the PLACEHOLDER_SYSMOCOM_RELEASE branch of the various meta-* layers.
|
||||
</div></description>
|
||||
<logRotator class="hudson.tasks.LogRotator">
|
||||
<daysToKeep>30</daysToKeep>
|
||||
<numToKeep>100</numToKeep>
|
||||
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
||||
<artifactNumToKeep>-1</artifactNumToKeep>
|
||||
</logRotator>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
<properties/>
|
||||
<scm class="org.jenkinsci.plugins.multiplescms.MultiSCM" plugin="multiple-scms@0.3">
|
||||
<scms>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.yoctoproject.org/poky</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_POKY_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://github.com/sysmocom/meta-smalltalk.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://github.com/sysmocom/meta-qt5.git</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.sysmocom.de/poky/meta-sysmocom-bsp</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
<hudson.plugins.git.GitSCM plugin="git@1.5.0">
|
||||
<configVersion>2</configVersion>
|
||||
<userRemoteConfigs>
|
||||
<hudson.plugins.git.UserRemoteConfig>
|
||||
<name></name>
|
||||
<refspec></refspec>
|
||||
<url>git://git.osmocom.org/meta-telephony</url>
|
||||
</hudson.plugins.git.UserRemoteConfig>
|
||||
</userRemoteConfigs>
|
||||
<branches>
|
||||
<hudson.plugins.git.BranchSpec>
|
||||
<name>*/PLACEHOLDER_SYSMOCOM_RELEASE</name>
|
||||
</hudson.plugins.git.BranchSpec>
|
||||
</branches>
|
||||
<disableSubmodules>false</disableSubmodules>
|
||||
<recursiveSubmodules>false</recursiveSubmodules>
|
||||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
||||
<authorOrCommitter>false</authorOrCommitter>
|
||||
<clean>false</clean>
|
||||
<wipeOutWorkspace>false</wipeOutWorkspace>
|
||||
<pruneBranches>false</pruneBranches>
|
||||
<remotePoll>false</remotePoll>
|
||||
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
||||
<useShallowClone>false</useShallowClone>
|
||||
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
||||
<gitTool>Default</gitTool>
|
||||
<submoduleCfg class="list"/>
|
||||
<relativeTargetDir></relativeTargetDir>
|
||||
<reference></reference>
|
||||
<excludedRegions></excludedRegions>
|
||||
<excludedUsers></excludedUsers>
|
||||
<gitConfigName></gitConfigName>
|
||||
<gitConfigEmail></gitConfigEmail>
|
||||
<skipTag>false</skipTag>
|
||||
<includedRegions></includedRegions>
|
||||
<scmName></scmName>
|
||||
</hudson.plugins.git.GitSCM>
|
||||
</scms>
|
||||
</scm>
|
||||
<canRoam>true</canRoam>
|
||||
<disabled>false</disabled>
|
||||
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
|
||||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
|
||||
<triggers>
|
||||
<hudson.triggers.SCMTrigger>
|
||||
<spec>H/5 * * * *</spec>
|
||||
<ignorePostCommitHooks>false</ignorePostCommitHooks>
|
||||
</hudson.triggers.SCMTrigger>
|
||||
</triggers>
|
||||
<concurrentBuild>false</concurrentBuild>
|
||||
<builders>
|
||||
<hudson.tasks.Shell>
|
||||
<command>ssh -4 yoctoPLACEHOLDER_POKY_RELEASEbuild@10.9.1.103 "cd system-images && git pull --rebase"
|
||||
ssh -4 yoctoPLACEHOLDER_POKY_RELEASEbuild@10.9.1.103 make -C system-images update
|
||||
ssh -4 yoctoPLACEHOLDER_POKY_RELEASEbuild@10.9.1.103 make -C system-images build-all
|
||||
ssh -4 yoctoPLACEHOLDER_POKY_RELEASEbuild@10.9.1.103 make -C system-images upload-all
|
||||
ssh -4 yoctoPLACEHOLDER_POKY_RELEASEbuild@10.9.1.103 make -C system-images clean-all</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers>
|
||||
<hudson.tasks.BuildTrigger>
|
||||
<childProjects>PLACEHOLDER_SYSMOCOM_RELEASE-test-upgrade-alix, PLACEHOLDER_SYSMOCOM_RELEASE-test-upgrade-apu2</childProjects>
|
||||
<threshold>
|
||||
<name>SUCCESS</name>
|
||||
<ordinal>0</ordinal>
|
||||
<color>BLUE</color>
|
||||
<completeBuild>true</completeBuild>
|
||||
</threshold>
|
||||
</hudson.tasks.BuildTrigger>
|
||||
<hudson.tasks.Mailer plugin="mailer@1.8">
|
||||
<recipients>intern@lists.sysmocom.de</recipients>
|
||||
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
|
||||
<sendToIndividuals>false</sendToIndividuals>
|
||||
</hudson.tasks.Mailer>
|
||||
</publishers>
|
||||
<buildWrappers/>
|
||||
</project>
|
Loading…
Reference in New Issue