blob: e1e0f024a3218287b3ce67aa85eb0e169a54bb44 (
plain) (
tree)
|
|
#!/bin/sh
set -eu
# This script determines what to do if the build failed.
# Below is an example of uploading the output.txt to an ftp server.
ftp -in <<EOF
open 192.168.1.5
mkdir $DSCIP_NAME
cd $DSCIP_NAME
mkdir $CURRENT_COMMIT
cd $CURRENT_COMMIT
mkdir $(uname)
cd $(uname)
put $WORKING_DIRECTORY/output.txt output-failed.txt
close
bye
EOF
|