@@ -102,24 +102,24 @@ for branch in $branches; do
102102 # master (for now).
103103 latest_snapshot=` cat $outputroot /$branch /latest_snapshot.txt`
104104 echo " === Latest snapshot: $latest_snapshot "
105- if test " $prev_snapshot " ! = " $latest_snapshot " && \
106- test " $branch " = " master" ; then
107- echo " === Saving output for a Coverity run"
108- echo " $outputroot /$branch /hwloc-$latest_snapshot .tar.bz2" >> $pending_coverity
109- else
110- echo " === NOT saving output for a Coverity run"
105+ if test " $prev_snapshot " ! = " $latest_snapshot " ; then
106+ if test " $branch " = " master" ; then
107+ echo " === Saving output for a Coverity run"
108+ echo " $outputroot /$branch /hwloc-$latest_snapshot .tar.bz2" >> $pending_coverity
109+ else
110+ echo " === NOT saving output for a Coverity run"
111+ fi
112+ echo " === Posting tarball to open-mpi.org"
113+ # tell the web server to cleanup old nightly tarballs
114+ ssh -p 2222
[email protected] " git/ompi/contrib/build-server/remove-old.pl 7 public_html/software/hwloc/nightly/$branch " 115+ # upload the new ones
116+ scp -P 2222
$outputroot /
$branch /hwloc-
$latest_snapshot .tar.
* [email protected] :public_html/software/hwloc/nightly/
$branch /
117+ scp -P 2222
$outputroot /
$branch /latest_snapshot.txt
[email protected] :public_html/software/hwloc/nightly/
$branch /
118+ # direct the web server to regenerate the checksums
119+ ssh -p 2222
[email protected] " cd public_html/software/hwloc/nightly/$branch && md5sum hwloc* > md5sums.txt" 120+ ssh -p 2222
[email protected] " cd public_html/software/hwloc/nightly/$branch && sha1sum hwloc* > sha1sums.txt" 111121 fi
112122
113- echo " === Posting tarball to open-mpi.org"
114- # tell the web server to cleanup old nightly tarballs
115- ssh -p 2222
[email protected] " git/ompi/contrib/build-server/remove-old.pl 7 public_html/software/hwloc/nightly/$branch " 116- # upload the new ones
117- scp -P 2222
$outputroot /
$branch /hwloc-
$latest_snapshot .tar.
* [email protected] :public_html/software/hwloc/nightly/
$branch /
118- scp -P 2222
$outputroot /
$branch /latest_snapshot.txt
[email protected] :public_html/software/hwloc/nightly/
$branch /
119- # direct the web server to regenerate the checksums
120- ssh -p 2222
[email protected] " cd public_html/software/hwloc/nightly/$branch && md5sum hwloc* > md5sums.txt" 121- ssh -p 2222
[email protected] " cd public_html/software/hwloc/nightly/$branch && sha1sum hwloc* > sha1sums.txt" 122-
123123 # Failed builds are not removed. But if a human forgets to come
124124 # in here and clean up the old failed builds, we can accumulate
125125 # many over time. So remove any old failed builds that are over
0 commit comments