[SAC] [OSGeo] #2640: docs.geoserver.org website request

OSGeo trac_osgeo at osgeo.org
Thu Sep 16 12:11:55 PDT 2021


#2640: docs.geoserver.org website request
---------------------------+----------------------------------------
 Reporter:  jive           |       Owner:  sac@…
     Type:  task           |      Status:  new
 Priority:  normal         |   Milestone:  Sysadmin Contract 2021-II
Component:  Systems Admin  |  Resolution:
 Keywords:                 |
---------------------------+----------------------------------------

Comment (by jive):

 I do not mind where the websites are stored at all, I assume they are low
 traffic.

 The build.geoserver.org Jenkins server is used to upload, let me check if
 the script is in version control (or just in the Jenkins configuration):

 Looks like it was Jenkins configuration (reproduced below, any

 {{{
 HOST=geotools at docs.geotools.org
 DIST=`mvn help:evaluate -Dexpression=series -q -DforceStdout`

 cd docs &&
 mvn install

 echo "website"
 cd target/web/html
 ls
 if [ -e web.zip ]; then
   rm -rf web.zip
 fi
 zip -r web.zip * &&
 scp -oStrictHostKeyChecking=no web.zip $HOST:/home/geotools/$DIST

 echo "user manual"
 cd ../../../target/user/html
 if [ -e userguide.zip ]; then
   rm -rf userguide.zip
 fi
 zip -r userguide.zip * &&
 scp -oStrictHostKeyChecking=no userguide.zip $HOST:/home/geotools/$DIST

 echo "developers guide"
 cd ../../../target/developer/html
 if [ -e developer.zip ]; then
   rm -rf developer.zip
 fi
 zip -r developer.zip * &&
 scp -oStrictHostKeyChecking=no developer.zip $HOST:/home/geotools/$DIST

 echo "documentation index"
 cd ../../../target/index/html
 if [ -e index.zip ]; then
   rm -rf index.zip
 fi
 zip -r index.zip * &&
 scp -oStrictHostKeyChecking=no index.zip $HOST:/home/geotools/$DIST

 ssh -oStrictHostKeyChecking=no $HOST "svn up update_site.sh &&
 ./update_site.sh $DIST"
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2640#comment:3>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list