2

I want to be automatically compiled class files after push a git server. Is there a possible way? Static files are synchronized to checkout that was using hooks post-receive, I would like to also sync class files.

Ultimately, I would like to automatically deploy web source that pushed to git server.

ps : I tried using ant on post-receive as below for this, but failed

#### post-receive ################

#!/bin/sh

git checkout -f

cd /d/webapps

ant

###############################

Cœur
  • 37,241
  • 25
  • 195
  • 267
Suby Lee
  • 415
  • 1
  • 4
  • 6

0 Answers0