Handle creation of source tarballs via jjb 59/8659/1
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 8 Mar 2017 00:11:56 +0000 (01:11 +0100)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 8 Mar 2017 00:11:56 +0000 (01:11 +0100)
Change-Id: Iaaccc07c92e4d72ca8df4528503834d9af8b8bbc
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/release-jjb-chinook-sources/include-release-jjb-chinook-release-sources-rsync.sh
jjb/release-jjb-chinook-sources/release-jjb-chinook-sources.yaml

index 2958476..9f76330 100644 (file)
@@ -10,17 +10,9 @@ echo "#######################################"
 tree -L 2
 echo "#######################################"
 echo "#######################################"
-set | grep MACHINE
-echo "#######################################"
-echo "#######################################"
-set
-echo "#######################################"
-echo "#######################################"
-
-cd repoclone/output
 
-export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/release/${RELEASE_BRANCH}/${RELEASE_VERSION}/"
-export RSYNCSRC=$(pwd)/UPLOAD/
+#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
@@ -28,22 +20,12 @@ 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 "
+
+exit 0
 
 if test x"yes" = x"$UPLOAD" ; then
    rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST
index 284308e..2e19c85 100644 (file)
@@ -51,7 +51,7 @@
                 - ../common/include-agl-header.sh
                 - ../common/include-agl-repo.sh
                 - ../common/include-agl-select.sh
-                - ../common/include-agl-source-aglsetup.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