let's officially give up on jenkins?

This commit is contained in:
rusefillc 2023-01-31 09:53:27 -05:00
parent 004180f27e
commit ff2e5f77b7
6 changed files with 0 additions and 75 deletions

View File

@ -1,2 +0,0 @@
@echo off
sh.exe misc/jenkins/functional_test_and_build_bundle.sh

View File

@ -1,39 +0,0 @@
#!/bin/bash
echo "TIMESTAMP $(date "+%a %D %T.%2S")"
SCRIPT_NAME="hw_test.sh"
echo "Entering $SCRIPT_NAME"
pwd
cd firmware
echo "$SCRIPT_NAME: erasing first"
bash flash_erase407.sh
echo "$SCRIPT_NAME: trying to flash"
# This script depends on someone else building firmware
bash flash_openocd407.sh
[ $? -eq 0 ] || { echo "ERROR invoking flash_openocd407.sh"; exit 1; }
[ -e build/rusefi.bin ] || { echo "FIRMWARE NOT FOUND"; exit 1; }
pwd
cd ..
# echo Running some commands
# pwd
# java -cp java_console_binary\rusefi_console.jar com.rusefi.CmdLine "set_led_blinking_period 10"
cd java_console
echo "Running tests"
which java
which javac
echo Sleeping few seconds to give OS time to connect VCP driver
sleep 20s
ant hardware_ci_f4_discovery
[ $? -eq 0 ] || { echo "ERROR DETECTED"; exit 1; }
echo "TIMESTAMP $(date "+%a %D %T.%2S")"
pwd
echo "exiting $SCRIPT_NAME"

View File

@ -1,2 +0,0 @@
@echo off
sh.exe misc/jenkins/functional_test_and_build_bundle/run.sh

View File

@ -1,15 +0,0 @@
#!/bin/bash
git submodule update --init
bash misc/jenkins/functional_test_and_build_bundle/build_current_bundle.sh
[ $? -eq 0 ] || { echo "build ERROR DETECTED"; exit 1; }
# bash misc/jenkins/functional_test_and_build_bundle/simulator_test.sh
# [ $? -eq 0 ] || { echo "simulator test ERROR DETECTED"; exit 1; }
# Here we use last version of firmware produced by 'clean_compile_two_versions.bat'
if [ ! "$RUSEFI_SKIP_HW" ] || [ "$RUSEFI_SKIP_HW" = "false" ]; then
sh misc/jenkins/functional_test_and_build_bundle/hw_test.sh
[ $? -eq 0 ] || { echo "real hardware test ERROR DETECTED"; exit 1; }
fi

View File

@ -1,2 +0,0 @@
@echo off
sh.exe misc/jenkins/functional_test_and_build_bundle/simulator_test.sh

View File

@ -1,15 +0,0 @@
#!/bin/bash
echo "I am simulator_test.sh"
pwd
cd java_console
echo "Running simulator functional test"
which java
which javac
ant simulator_test
[ $? -eq 0 ] || { echo "ERROR DETECTED"; exit 1; }
echo "TIMESTAMP $(date "+%a %D %T.%2S")"
echo "simulator_test.sh: done"