In general, the better way is using ci tool like Jenkins. If you want do it by yourself, just act as ci server or plan your test procedure.
Act as ci:
on-development-host:
- commit the source code to verion control system
on-linux:
- check any changes in the version control system
- get latest source code from version control system (git pull or svn update, or any other vcs tool you used)
- build app from source code (use build tool: ant or maven)
- run test-cases and send test report
Arrange test procedure by yourself:
- winscp to linux from your computer
- run test-cases and send test report
There is a problem in winscp. It is a gui tool and is difficlut to automate.
Ant sshexec and scp task is better for automating test.