Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 991b54c50b
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (11 sloc) 0.39 kb
EXAMPLE=$1
if [ "$EXAMPLE" == "" ]; then
echo "usage: upload-reports.sh <example>"
exit;
fi
cd target
cp -r jbehave-reports/view $EXAMPLE
zip -r $EXAMPLE.zip $EXAMPLE
scp $EXAMPLE.zip jbehave.org:
EXAMPLES="/var/www/jbehave.org/reference/examples"
ssh jbehave.org "rm -r $EXAMPLE; unzip -uo $EXAMPLE.zip; mkdir -p $EXAMPLES; rm -r $EXAMPLES/$EXAMPLE; mv -f $EXAMPLE $EXAMPLES"
Jump to Line
Something went wrong with that request. Please try again.