4 #WORKSPACE="/Users/n.hoffmann/Documents/workspace/taxeditor/trunk"
5 # NOTE by AM (2022-06-07): this is probably outdated and can be removed as
6 # we build with maven/tycho/jenkins now. Before removing compare with current
9 PRODUCT_DIR
="$WORKSPACE/eu.etaxonomy.taxeditor/target/products"
11 DEPLOYMENT_SERVER
="cybertaxonomy.eu"
12 DEPLOYMENT_DIR
="/var/www/download/taxeditor/nightly"
14 # bash check if directory exists
15 if [ ! -d $PRODUCT_DIR ]; then
16 echo "Product directory does not exist: $PRODUCT_DIR"
20 PRODUCTS
=$
(ls $PRODUCT_DIR/eu.etaxonomy.taxeditor.product-
*.
zip)
22 if [ ! $PRODUCTS ]; then
23 echo "No products in product directory: $PRODUCT_DIR"
27 for FILE
in $PRODUCTS; do
28 scp
$FILE root@
$DEPLOYMENT_SERVER:$DEPLOYMENT_DIR