summaryrefslogtreecommitdiffstats
path: root/hudson-builds
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-16 10:02:28 +0100
committerSven Gothel <[email protected]>2010-11-16 10:02:28 +0100
commita766252dd4ae05a7c3dfca04dfce46e442f44d52 (patch)
treed678ab2779acb01786f2b8a1d271a5e6dbb7dfc9 /hudson-builds
parent3541503529b7f0f6733f6b282d32df32a9cd5cc2 (diff)
Use common javadoc file structure 'javadoc/<module>/<javadoc-type>' and zip all <module>/** to javadoc.zip. This shall be done for all jogamp modules
Diffstat (limited to 'hudson-builds')
-rwxr-xr-xhudson-builds/promote-latest-builds.sh21
1 files changed, 9 insertions, 12 deletions
diff --git a/hudson-builds/promote-latest-builds.sh b/hudson-builds/promote-latest-builds.sh
index 4197a77..de8bfd0 100755
--- a/hudson-builds/promote-latest-builds.sh
+++ b/hudson-builds/promote-latest-builds.sh
@@ -34,6 +34,8 @@ function promote-latest-builds() {
echo
prom_setup $rootdir $dest
+ mkdir $dest/javadoc
+
gluegenslave=`prom_lslatest gluegen-b`
bgluegenslave=`prom_buildnumber_2 $gluegenslave`
gluegenmaster=`prom_lslatest gluegen-master-b`
@@ -49,11 +51,10 @@ function promote-latest-builds() {
prom_promote_files gluegen $gluegenslave $dest gluegen
cp -a $gluegenmaster/artifact.properties $dest/javadoc/gluegen-master.artifact.properties
- mkdir $dest/javadoc/gluegen
- cp -a $gluegenmaster/javadoc.zip $dest/javadoc/gluegen
- cd $dest/javadoc/gluegen
- echo "INFO: gluegen master javadoc zip"
- unzip -q javadoc.zip
+ cp -a $gluegenmaster/javadoc.zip $dest/javadoc/gluegen-javadoc.zip
+ cd $dest/javadoc
+ echo "INFO: gluegen master gluegen-javadoc zip"
+ unzip -q gluegen-javadoc.zip
cd $rootdir
joglslave=`prom_lslatest jogl-b`
@@ -71,13 +72,9 @@ function promote-latest-builds() {
prom_promote_files jogl $joglslave $dest nativewindow jogl newt
cp -a $joglmaster/artifact.properties $dest/javadoc/jogl-master.artifact.properties
- mkdir $dest/javadoc/jogl
- cp -a $joglmaster/javadoc*.zip $dest/javadoc/jogl
- cd $dest/javadoc/jogl
- for i in *.zip ; do
- echo "INFO: unzip $i"
- unzip -q $i
- done
+ cp -a $joglmaster/javadoc.zip $dest/javadoc/jogl-javadoc.zip
+ cd $dest/javadoc
+ unzip -q jogl-javadoc.zip
cd $rootdir
jogldemosmaster=`prom_lslatest jogl-demos-master-b`