swsnu / ReMon

0 stars 0 forks source link

Edit Jenkins test script #61

Closed TaeHunKim closed 9 years ago

TaeHunKim commented 9 years ago

Currently build(test) script in Jenkins is written as below:

#Test for Collector
cd "$JENKINS_HOME/jobs/ReMon Build/workspace/collector"
mvn test
#Test for Monitor
cd "$JENKINS_HOME/jobs/ReMon Build/workspace/monitor"
python -m tornado.testing tests.runtests

Test script of Monitor can be useless when file name of test code is changed. We can change the script to test correctly even if the file name of test code is changed.

TaeHunKim commented 9 years ago

I added run_test.sh file in monitordirectory. We can edit this file to change Monitor test command without change Jenkins configuration