summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2015-12-12 22:52:43 +0000
committerJoe Robinson <joe@lc8n.com>2015-12-12 22:52:43 +0000
commit07ce8dce68ef523a2643285652a148479dbf9dab (patch)
tree2545240b1fe24e01cd952992126ca91cc9b67f22 /src
parentfa93406a7c827e31644d948135125a7c54a0dc2a (diff)
Message reformatting
Diffstat (limited to 'src')
-rw-r--r--src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java2
-rw-r--r--src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java b/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java
index 7b3a1aa..7c6fecb 100644
--- a/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java
+++ b/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java
@@ -45,7 +45,7 @@ public class GitMergeController {
return "gitlab";
}
- String command = "echo theblueroom " + user + actionTxt + source + "] to [" + target + "] on <" + repo + ">: [" + title + "] "+ url + " | bash /home/smsd/msgrelay.bash ";
+ String command = "echo theblueroom " + user + actionTxt + source + "] to [" + target + "] on [" + repo + "]: [" + title + "] "+ url + " | bash /home/smsd/msgrelay.bash ";
log.info("Running command: " + command);
//DANGER
Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", command});
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 73d1b4b..e0f684b 100644
--- a/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java
+++ b/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java
@@ -39,7 +39,7 @@ public class GitPushController {
log.info("Received commits: " + commitMsg);
//DANGER
- String command = "echo theblueroom " + pushMsg.getUserName() + " pushed to <" + pushMsg.getRepository().getName() + ">: "+ commitMsg + " | bash /home/smsd/msgrelay.bash ";
+ String command = "echo theblueroom " + pushMsg.getUserName() + " pushed to [" + pushMsg.getRepository().getName() + "]: "+ commitMsg + " | bash /home/smsd/msgrelay.bash";
log.info("Running command: " + command);
Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", command});