- ../common/include-agl-select.sh
- ../common/include-agl-source-aglsetup.sh
- ../common/include-agl-auto-conf.sh
+ - ../common/include-agl-limit-parallelism.sh
+ - ../common/include-agl-cat-auto-conf.sh
- ../common/include-agl-bitbake-image.sh
- ../common/include-agl-test-nbd-short.sh
file://.* ${DLHOST}/sstate-mirror/\${MACHINE}/PATH \n \
"
+IMAGE_FSTYPES_remove = "ext3"
SSTATE_DIR = "\${TOPDIR}/sstate-cache/\${MACHINE}/"
EOF
-
-#cat conf/auto.conf
################################################################################
# finally, build the agl-demo-platform (we retry to catch the tar-native bug)
-bitbake $TARGETIMAGE || bitbake $TARGETIMAGE
+( ( bitbake $TARGETIMAGE ) || ( echo '## Failed once, retry .. ##' ; sync ; sleep 2 ; bitbake $TARGETIMAGE ) ) || ( echo '## Failed again, bail out ...' ; exit 1 )
+
du -hs tmp/deploy/*
################################################################################
# finally, build the agl-demo-platform (we retry to catch the tar-native bug)
-bitbake -c $TARGETSDK $TARGETIMAGE || bitbake -c $TARGETSDK $TARGETIMAGE
+( ( bitbake -c $TARGETSDK $TARGETIMAGE ) || ( echo '## Failed once, retry .. ##' ; sync ; sleep 2 ; bitbake -c $TARGETSDK $TARGETIMAGE ) ) || ( echo '## Failed again, bail out ... ##' ; exit 1 )
du -hs tmp/deploy/*
--- /dev/null
+echo "########## auto.conf ############"
+cat conf/auto.conf
+echo "########## auto.conf ############"
--- /dev/null
+BB_NUMBER_THREADS = "6"
+BB_NUMBER_PARSE_THREADS = "8"
+PARALLEL_MAKE = "-j6"
\ No newline at end of file
build-artifact-days-to-keep: -1
build-artifact-num-to-keep: 10
# Timeout in minutes
- build-timeout: 360
+ build-timeout: 420
ssh-credentials: 'agl-jobbuilder'
wrappers:
- timeout:
type: absolute
- timeout: 360
+ timeout: 420
fail: true
- wrapper:
+++ /dev/null
-../common/include-agl-build.sh
\ No newline at end of file
echo "#######################################"
echo "#######################################"
-export RSYNCSRC="$(pwd)/tmp/deploy/images/"
+cd repoclone/output
+
export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/release/${RELEASE_BRANCH}/${RELEASE_VERSION}/"
+export RSYNCSRC=$(pwd)/UPLOAD/
+
+# construct upload folder
+mv UPLOAD UPLOAD2 || true
+rm -rf UPLOAD2 || true
+mkdir -p UPLOAD/${MACHINE}
+export DEST=$(pwd)/UPLOAD/${MACHINE}
+
+# save space ... remove the rpms
+rm -rf tmp/deploy/rpm || true
+
+rsync -avr --progress --delete tmp/deploy $DEST/
+rsync -avr --progress --delete tmp/log $DEST/
+
+cp ../../current_default.xml $DEST/${MACHINE}_repo_default.xml
+cp conf/local.conf $DEST/local.conf
+cp conf/auto.conf $DEST/auto.conf
+echo "$BUILD_URL" > $DEST/jenkins.build.url
+
+tree $DEST
+
+ls -alhR $DEST
echo "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST "
if test x"yes" = x"$UPLOAD" ; then
-echo upload
+ rsync -avr --delete -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST
fi
exit 0
\ No newline at end of file
builders:
- shell:
- !include-raw-escape: include-release-jjb-chinook-snapshot-build.sh
+ !include-raw-escape:
+ - ../common/include-agl-header.sh
+ - ../common/include-agl-repo.sh
+ - ../common/include-agl-select.sh
+ - ../common/include-agl-source-aglsetup.sh
+ - ../common/include-agl-auto-conf.sh
+ - ../common/include-agl-limit-parallelism.sh
+ - ../common/include-agl-cat-auto-conf.sh
+ - ../common/include-agl-local-conf-archiver.sh
+ - ../common/include-agl-local-conf-isafw.sh
+ - ../common/include-agl-local-conf-vmdk.sh
+ - ../common/include-agl-bitbake-image.sh
+ - ../common/include-agl-bitbake-sdk.sh
+ - ../common/include-agl-test-nbd-short.sh
- shell:
!include-raw-escape: include-release-jjb-chinook-snapshot-rsync.sh