mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 10:05:24 +02:00
Fix errors on build servers other than build.eclipse.org
This commit is contained in:
parent
190ec2d8f6
commit
944255ff21
2 changed files with 36 additions and 30 deletions
|
@ -73,7 +73,8 @@ echo "Running the builder..."
|
||||||
./nightly.sh ${mapTag} ${buildType} ${buildId} >> $log 2>&1
|
./nightly.sh ${mapTag} ${buildType} ${buildId} >> $log 2>&1
|
||||||
tail -50 $log
|
tail -50 $log
|
||||||
|
|
||||||
#update the main download and archive pages
|
#update the main download and archive pages: build.eclipse.org only
|
||||||
|
if [ -d /home/data/httpd/archive.eclipse.org/dsdp/tm/downloads ]; then
|
||||||
cd /home/data/httpd/archive.eclipse.org/dsdp/tm/downloads
|
cd /home/data/httpd/archive.eclipse.org/dsdp/tm/downloads
|
||||||
cvs -q update -RPd >> $log 2>&1
|
cvs -q update -RPd >> $log 2>&1
|
||||||
chgrp dsdp-tmadmin * CVS/*
|
chgrp dsdp-tmadmin * CVS/*
|
||||||
|
@ -84,6 +85,7 @@ chgrp dsdp-tmadmin * CVS/*
|
||||||
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
||||||
chgrp -R dsdp-tmadmin drops/${buildType}*${daystamp}*
|
chgrp -R dsdp-tmadmin drops/${buildType}*${daystamp}*
|
||||||
chmod -R g+w drops/${buildType}*${daystamp}*
|
chmod -R g+w drops/${buildType}*${daystamp}*
|
||||||
|
fi
|
||||||
|
|
||||||
#Check the publishing
|
#Check the publishing
|
||||||
cd $HOME/ws2/publish
|
cd $HOME/ws2/publish
|
||||||
|
@ -104,7 +106,7 @@ if [ -f package.count -a "$FILES" != "" ]; then
|
||||||
${mydir}/batch_sign.sh `pwd`
|
${mydir}/batch_sign.sh `pwd`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${buildType} != M ]; then
|
if [ ${buildType} != M -a -d ../N.latest ]; then
|
||||||
#update the doc server
|
#update the doc server
|
||||||
rm -f ../N.latest/RSE-SDK-*.zip
|
rm -f ../N.latest/RSE-SDK-*.zip
|
||||||
cp -f RSE-SDK-*.zip ../N.latest/RSE-SDK-latest.zip
|
cp -f RSE-SDK-*.zip ../N.latest/RSE-SDK-latest.zip
|
||||||
|
|
|
@ -46,7 +46,8 @@ echo "Running the builder..."
|
||||||
./nightly.sh >> $log 2>&1
|
./nightly.sh >> $log 2>&1
|
||||||
tail -50 $log
|
tail -50 $log
|
||||||
|
|
||||||
#update the main download and archive pages
|
#update the main download and archive pages: build.eclipse.org only
|
||||||
|
if [ -d /home/data/httpd/archive.eclipse.org/dsdp/tm/downloads ]; then
|
||||||
cd /home/data/httpd/archive.eclipse.org/dsdp/tm/downloads
|
cd /home/data/httpd/archive.eclipse.org/dsdp/tm/downloads
|
||||||
cvs -q update -RPd >> $log 2>&1
|
cvs -q update -RPd >> $log 2>&1
|
||||||
chgrp dsdp-tmadmin * CVS/*
|
chgrp dsdp-tmadmin * CVS/*
|
||||||
|
@ -57,9 +58,11 @@ chgrp dsdp-tmadmin * CVS/*
|
||||||
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
#Fixup permissions and group id on download.eclpse.org (just to be safe)
|
||||||
chgrp -R dsdp-tmadmin drops/${buildType}*${daystamp}*
|
chgrp -R dsdp-tmadmin drops/${buildType}*${daystamp}*
|
||||||
chmod -R g+w drops/${buildType}*${daystamp}*
|
chmod -R g+w drops/${buildType}*${daystamp}*
|
||||||
|
fi
|
||||||
|
|
||||||
#Copy latest SDK in order to give access to DOC server
|
#Copy latest SDK in order to give access to DOC server
|
||||||
cd $HOME/ws2/publish
|
cd $HOME/ws2/publish
|
||||||
|
if [ -d N.latest ]; then
|
||||||
FILES=`ls N${daystamp}*/RSE-SDK-N${daystamp}*.zip 2>/dev/null`
|
FILES=`ls N${daystamp}*/RSE-SDK-N${daystamp}*.zip 2>/dev/null`
|
||||||
echo "FILES=$FILES"
|
echo "FILES=$FILES"
|
||||||
if [ "$FILES" != "" ]; then
|
if [ "$FILES" != "" ]; then
|
||||||
|
@ -70,6 +73,7 @@ if [ "$FILES" != "" ]; then
|
||||||
chgrp dsdp-tmadmin RSE-SDK-latest.zip
|
chgrp dsdp-tmadmin RSE-SDK-latest.zip
|
||||||
chmod g+w RSE-SDK-latest.zip
|
chmod g+w RSE-SDK-latest.zip
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#Cleanup old nightly builds (leave only last 5 in place)
|
#Cleanup old nightly builds (leave only last 5 in place)
|
||||||
cd $HOME/ws2/publish
|
cd $HOME/ws2/publish
|
||||||
|
|
Loading…
Add table
Reference in a new issue