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
1 changed files with 3 additions and 2 deletions

View File

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