File: upload.sh

package info (click to toggle)
ehcache 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 8,568 kB
  • sloc: java: 76,713; xml: 16,452; perl: 33; makefile: 15; sh: 13
file content (15 lines) | stat: -rwxr-xr-x 572 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This script maintains a list of paths that are owned by Marketing and should not be generated with Maven. 
# It also uploads the site to ehcache-stage using a non-destructive rsync command which will not delete target paths.
# You must be connected to the VPN to run this script, otherwise the upload will timeout
# You will be prompted for a password for ehcache-stage. See IT for access.

# change directory to generated site root
cd target/site

# remove Marketing owned paths
rm index.html

# upload
rsync -v -r * ehcache-stage.terracotta.lan:/export1/ehcache.org