Update test-job.sh

This commit is contained in:
Patrick Lühne 2019-03-02 02:32:28 +01:00
parent 3212daac54
commit 3dd3652999
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -29,11 +29,12 @@ pushd "$dir"
git config user.email "bot@potassco.org" git config user.email "bot@potassco.org"
echo "start of benchmark output of job $JOB_KEY" > test-output echo "start of benchmark output of job $JOB_KEY" > test-output
sleep 10 sleep "$TIME"
echo "collected $FRUIT"
start_time=$(date +%s%N) start_time=$(date +%s%N)
echo "end of benchmark output of job $JOB_KEY" >> test-output echo "end of benchmark output of job $JOB_KEY" >> test-output
git add test-output git add test-output
git commit -m "Test update" git commit -m "Add results of job $JOB_KEY"
git push git push
end_time=$(date +%s%N) end_time=$(date +%s%N)
popd popd