From 18f9b1488b6459e0ddc891e59fe4ccf5229b3eef Mon Sep 17 00:00:00 2001
From: Ludovic Claude <ludovic.claude54@googlemail.com>
Date: Mon, 11 Sep 2017 14:12:58 +0200
Subject: [PATCH] Send build events to Atomist.

---
 .atomist.yml   | 16 ++++++++++++++++
 .gitattributes |  1 +
 circle.yml     |  3 +++
 3 files changed, 20 insertions(+)
 create mode 100644 .atomist.yml
 create mode 100644 .gitattributes

diff --git a/.atomist.yml b/.atomist.yml
new file mode 100644
index 000000000..52921d8a4
--- /dev/null
+++ b/.atomist.yml
@@ -0,0 +1,16 @@
+---
+kind: "operation"
+client: "com.atomist:rug"
+version: "1.0.0-20170816122823"
+editor:
+  name: "AddCircleWebhookEditor"
+  group: "atomist"
+  artifact: "enrollment-rugs"
+  version: "0.3.52"
+  origin:
+    repo: "git@github.com:atomisthq/enrollment-rugs.git"
+    branch: "7a6d5332592a7fa24e9cb5d4080747889e295d1f"
+    sha: "7a6d533"
+  parameters:
+    - "atomistWebhookUrl": "https://webhook.atomist.com/atomist/circle"
+
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..4d9e597fc
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+.atomist.yml linguist-generated=true
diff --git a/circle.yml b/circle.yml
index 7a26740a3..fcb5a4e3b 100644
--- a/circle.yml
+++ b/circle.yml
@@ -21,3 +21,6 @@ test:
 #       - docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASS -e $DOCKER_HUB_EMAIL
 #       - docker push --branch-tags=false --commit-tags=true
 #       - mvn sonar:sonar -Dsonar.login=$SONAR_KEY  # Need SonarQube back on a public URL
+notify:
+  webhooks:
+  - url: 'https://webhook.atomist.com/atomist/circle'
-- 
GitLab