mirror of https://github.com/rusefi/rusefi-1.git
14 lines
527 B
Bash
14 lines
527 B
Bash
#!/bin/bash
|
|
|
|
echo "Should be executed from project root folder. Will try to upload to $RUSEFI_FTP_SERVER"
|
|
pwd
|
|
# ibom is part of Doxygen job simply in order to reduce workspace HDD usage on my tiny build server
|
|
bash misc/jenkins/InteractiveHtmlBom/run.sh
|
|
|
|
if [ -n "$RUSEFI_SSH_SERVER" ]; then
|
|
echo "Uploading IBOMs"
|
|
cd hardware
|
|
tar -czf - ibom | sshpass -p "$RUSEFI_SSH_PASS" ssh -o StrictHostKeyChecking=no "$RUSEFI_SSH_USER"@"$RUSEFI_SSH_SERVER" "tar -xzf - -C docs"
|
|
fi
|
|
[ $? -eq 0 ] || { echo "upload FAILED"; exit 1; }
|