aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-08 15:36:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-08 15:36:27 +0000
commite7152bc9308af397f54be36106bd654bea8c2464 (patch)
treeece90aa5fc730cde8ed27e07b5d89bbab4e1d95c /scripts
parentb967b3e69b2d952f9f7d628ac0d23ace3c0f1761 (diff)
added a final line that echos to the logfile to test whether the build was succeeded. if it succeeded, then the status report email is not sent
svn path=/trunk/; revision=5512
Diffstat (limited to 'scripts')
-rw-r--r--scripts/auto-build/pd-devel-auto-builder.sh2
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh12
-rwxr-xr-xscripts/auto-build/pd-main-auto-builder.sh3
3 files changed, 10 insertions, 7 deletions
diff --git a/scripts/auto-build/pd-devel-auto-builder.sh b/scripts/auto-build/pd-devel-auto-builder.sh
index 4734098e..daa32fd1 100644
--- a/scripts/auto-build/pd-devel-auto-builder.sh
+++ b/scripts/auto-build/pd-devel-auto-builder.sh
@@ -2,3 +2,5 @@
echo "This currently does nothing, but it could..."
+# if the below word prints, the status report email is not sent
+echo SUCCESS
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh
index 8a5746a2..5d918e98 100755
--- a/scripts/auto-build/pd-extended-auto-builder.sh
+++ b/scripts/auto-build/pd-extended-auto-builder.sh
@@ -39,13 +39,13 @@ upload_build ()
platform_folder=$1
build_folder=$2
archive_format=$3
+
+ archive="${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format}"
- echo "Uploading $1 $2 $3"
-# upload files to webpage
- echo ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format}
- test -e ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} && \
- rsync -a ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} \
- rsync://128.238.56.50/upload/${DATE}/`ls -1 ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"`
+ echo "upload specs $1 $2 $3"
+ echo "Uploading $archive"
+ test -e ${archive} && rsync -a ${archive} \
+ rsync://128.238.56.50/upload/${DATE}/`ls -1 ${archive} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"` && echo SUCCESS
}
if [ "$SYSTEM" == "Linux" ]; then
diff --git a/scripts/auto-build/pd-main-auto-builder.sh b/scripts/auto-build/pd-main-auto-builder.sh
index a5ec0645..d964201e 100755
--- a/scripts/auto-build/pd-main-auto-builder.sh
+++ b/scripts/auto-build/pd-main-auto-builder.sh
@@ -43,6 +43,7 @@ cd ${auto_build_root_dir}/pd/src && \
make && \
cd ../../ && \
tar cjf $package_name pd && \
- rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/
+ rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/ && \
+ echo SUCCESS
rm -f -- $package_name