Regenerate website
This commit is contained in:
parent
d141e41049
commit
0f0ea1d422
|
|
@ -269,12 +269,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -617,8 +611,6 @@ kubectl get secret jenkins-operator-credentials-<cr_name> -o <span style="
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -269,12 +269,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -533,16 +527,6 @@ Once you have running Kubernetes cluster you can focus on installing <strong>Jen
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="entry">
|
|
||||||
<h5>
|
|
||||||
<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
</h5>
|
|
||||||
<p>How to setup operator notifications.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<h5>
|
<h5>
|
||||||
<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.1.x/">v0.1.x</a>
|
<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.1.x/">v0.1.x</a>
|
||||||
|
|
|
||||||
|
|
@ -19,119 +19,5 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<item>
|
|
||||||
<title>Docs: Notifications</title>
|
|
||||||
<link>https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/notifications/</link>
|
|
||||||
<pubDate>Mon, 05 Aug 2019 00:00:00 +0000</pubDate>
|
|
||||||
|
|
||||||
<guid>https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/notifications/</guid>
|
|
||||||
<description>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2 id="slack">Slack</h2>
|
|
||||||
|
|
||||||
<p>Please follow <a href="https://api.slack.com/incoming-webhooks" target="_blank">this</a> instructions to get web hook URL.</p>
|
|
||||||
|
|
||||||
<p>Create web hook secret with name <code>jenkins-operator-notification-data</code>. Contains key <code>url</code> with provided web hook URL.</p>
|
|
||||||
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ kubectl create secret generic jenkins-operator-notification-data --from-literal<span style="color:#ce5c00;font-weight:bold">=</span><span style="color:#000">url</span><span style="color:#ce5c00;font-weight:bold">=</span>&lt;webhook_url&gt;</code></pre></div>
|
|
||||||
<p>Example configuration for Slack:</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: &lt;name&gt;
|
|
||||||
slack:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<h2 id="microsoft-teams">Microsoft Teams</h2>
|
|
||||||
|
|
||||||
<p>Please follow <a href="https://docs.microsoft.com/en-gb/outlook/actionable-messages/send-via-connectors" target="_blank">this</a> instructions to get web hook URL.</p>
|
|
||||||
|
|
||||||
<p>Example configuration for Microsoft Teams:</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: &lt;name&gt;
|
|
||||||
teams:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<h2 id="mailgun">Mailgun</h2>
|
|
||||||
|
|
||||||
<p>Example configuration for Mailgun:</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: &lt;name&gt;
|
|
||||||
mailgun:
|
|
||||||
domain: &lt;domain&gt;
|
|
||||||
apiKeySecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
recipient: &lt;your_email&gt;
|
|
||||||
from: &lt;mailgun_email&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<h2 id="debug-options">Debug options</h2>
|
|
||||||
|
|
||||||
<p>As you see there is two debugging options:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p><code>loggingLevel</code> (warning/info) - Set level of messages to send.</p></li>
|
|
||||||
|
|
||||||
<li><p><code>verbose</code> - Print stacktrace and additional error messages</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2 id="multiple-providers">Multiple providers</h2>
|
|
||||||
|
|
||||||
<p>You can use multiple providers to send notification to another communication channels at the same time.
|
|
||||||
For example you will send notifications to Slack and Teams.</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: nslack
|
|
||||||
slack:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: nteams
|
|
||||||
teams:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
</description>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -269,12 +269,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -597,8 +591,6 @@ Once you have running Kubernetes cluster you can focus on installing <strong>Jen
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<h5>
|
<h5>
|
||||||
<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/diagnostics/">Diagnostics</a>
|
<a href="https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/diagnostics/">Diagnostics</a>
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -269,12 +269,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -580,8 +574,6 @@ Once you have running Kubernetes cluster you can focus on installing <strong>Jen
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -269,12 +269,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -549,8 +543,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,12 +276,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -266,12 +266,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -540,8 +534,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1492,120 +1492,6 @@ When Jenkins configuration jobs are removed, you must use the following command
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
|
||||||
<title>Docs: Notifications</title>
|
|
||||||
<link>https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/notifications/</link>
|
|
||||||
<pubDate>Mon, 05 Aug 2019 00:00:00 +0000</pubDate>
|
|
||||||
|
|
||||||
<guid>https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/notifications/</guid>
|
|
||||||
<description>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2 id="slack">Slack</h2>
|
|
||||||
|
|
||||||
<p>Please follow <a href="https://api.slack.com/incoming-webhooks" target="_blank">this</a> instructions to get web hook URL.</p>
|
|
||||||
|
|
||||||
<p>Create web hook secret with name <code>jenkins-operator-notification-data</code>. Contains key <code>url</code> with provided web hook URL.</p>
|
|
||||||
<div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash">$ kubectl create secret generic jenkins-operator-notification-data --from-literal<span style="color:#ce5c00;font-weight:bold">=</span><span style="color:#000">url</span><span style="color:#ce5c00;font-weight:bold">=</span>&lt;webhook_url&gt;</code></pre></div>
|
|
||||||
<p>Example configuration for Slack:</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: &lt;name&gt;
|
|
||||||
slack:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<h2 id="microsoft-teams">Microsoft Teams</h2>
|
|
||||||
|
|
||||||
<p>Please follow <a href="https://docs.microsoft.com/en-gb/outlook/actionable-messages/send-via-connectors" target="_blank">this</a> instructions to get web hook URL.</p>
|
|
||||||
|
|
||||||
<p>Example configuration for Microsoft Teams:</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: &lt;name&gt;
|
|
||||||
teams:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<h2 id="mailgun">Mailgun</h2>
|
|
||||||
|
|
||||||
<p>Example configuration for Mailgun:</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: &lt;name&gt;
|
|
||||||
mailgun:
|
|
||||||
domain: &lt;domain&gt;
|
|
||||||
apiKeySecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
recipient: &lt;your_email&gt;
|
|
||||||
from: &lt;mailgun_email&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<h2 id="debug-options">Debug options</h2>
|
|
||||||
|
|
||||||
<p>As you see there is two debugging options:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><p><code>loggingLevel</code> (warning/info) - Set level of messages to send.</p></li>
|
|
||||||
|
|
||||||
<li><p><code>verbose</code> - Print stacktrace and additional error messages</p></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2 id="multiple-providers">Multiple providers</h2>
|
|
||||||
|
|
||||||
<p>You can use multiple providers to send notification to another communication channels at the same time.
|
|
||||||
For example you will send notifications to Slack and Teams.</p>
|
|
||||||
|
|
||||||
<pre><code>kind: Jenkins
|
|
||||||
spec:
|
|
||||||
master:
|
|
||||||
notifications:
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: nslack
|
|
||||||
slack:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
- loggingLevel: info
|
|
||||||
verbose: true
|
|
||||||
name: nteams
|
|
||||||
teams:
|
|
||||||
webHookURLSecretKeySelector:
|
|
||||||
secret:
|
|
||||||
name: &lt;secret_name&gt;
|
|
||||||
key: &lt;key&gt;
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
</description>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Docs: Tools</title>
|
<title>Docs: Tools</title>
|
||||||
<link>https://jenkinsci.github.io/kubernetes-operator/docs/developer-guide/tools/</link>
|
<link>https://jenkinsci.github.io/kubernetes-operator/docs/developer-guide/tools/</link>
|
||||||
|
|
|
||||||
|
|
@ -269,12 +269,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -570,8 +564,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -269,12 +269,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a class="td-sidebar-link td-sidebar-link__page " id="m-kubernetes-operator-docs-getting-started-v0-3-x-notifications" href="/kubernetes-operator/docs/getting-started/v0.3.x/notifications/">Notifications</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -618,8 +612,6 @@ $ kubectl -n jenkins apply -f role_binding_jenkins.yaml</code></pre></div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,11 +92,6 @@
|
||||||
<lastmod>2019-08-05T00:00:00+00:00</lastmod>
|
<lastmod>2019-08-05T00:00:00+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.3.x/notifications/</loc>
|
|
||||||
<lastmod>2019-08-05T00:00:00+00:00</lastmod>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.1.x/</loc>
|
<loc>https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/v0.1.x/</loc>
|
||||||
<lastmod>2019-08-05T00:00:00+00:00</lastmod>
|
<lastmod>2019-08-05T00:00:00+00:00</lastmod>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue