diff options
-rw-r--r-- | src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java b/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java index eb5ff74..9d461c9 100644 --- a/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java +++ b/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java @@ -32,8 +32,7 @@ public class GitPushController { commitMsg += commit.getMessage().trim(); } - log.info(commitMsg); - Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", "echo theblueroom beep | bash /home/smsd/msgrelay.bash "}); + log.info("Received commits: " + commitMsg); //DANGER Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", "echo theblueroom " + pushMsg.getUserName() + " pushed to " + pushMsg.getRepository().getName() + ": "+ commitMsg + " | bash /home/smsd/msgrelay.bash "}); |