1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Make jenkins widget interactive

This commit is contained in:
Anand Sudhir Prayaga
2018-08-30 14:46:03 +02:00
committed by Anand Sudhir Prayaga
parent dccf04a27a
commit d4853f7cfd
8 changed files with 189 additions and 25 deletions

4
docs/index.json vendored
View File

@@ -200,7 +200,7 @@
"title": "Jenkins",
"tags": [],
"description": "",
"content": " Added in v0.0.8.\nDisplays jenkins status of given builds in a project or view\nSource Code wtf/jenkins/ Configuration jenkins:apiKey:\u0026#34;3276d7155dd9ee27b8b14f8743a408a9\u0026#34;enabled:trueposition:top:2left:3height:2width:3refreshInterval:300url:\u0026#34;https://jenkins.domain.com/jenkins/view_url\u0026#34;user:\u0026#34;username\u0026#34;verifyServerCertificate:true Attributes apiKey Value: Your Jenkins API key.\nenabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.\nposition Defines where in the grid this module\u0026rsquo;s widget will be displayed.\nrefreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0..n.\nuser Your Jenkins username. url The url to your Jenkins project or view. Values: A valid URI.\nverifyServerCertificate Optional Determines whether or not the server\u0026rsquo;s certificate chain and host name are verified. Values: true, false.\n"
"content": " Added in v0.0.8.\nDisplays jenkins status of given builds in a project or view\nSource Code wtf/jenkins/ Keyboard Commands Key: [return] Action: Open the selected job in the browser.\nKey: j Action: Select the next job in the list.\nKey: k Action: Select the previous job in the list.\nKey: r Action: Refresh the data.\nKey: ↓ Action: Select the next job in the list.\nKey: ↑ Action: Select the previous job in the list.\nConfiguration jenkins:apiKey:\u0026#34;3276d7155dd9ee27b8b14f8743a408a9\u0026#34;enabled:trueposition:top:2left:3height:2width:3refreshInterval:300url:\u0026#34;https://jenkins.domain.com/jenkins/view_url\u0026#34;user:\u0026#34;username\u0026#34;verifyServerCertificate:true Attributes apiKey Value: Your Jenkins API key.\nenabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.\nposition Defines where in the grid this module\u0026rsquo;s widget will be displayed.\nrefreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0..n.\nuser Your Jenkins username. url The url to your Jenkins project or view. Values: A valid URI.\nverifyServerCertificate Optional Determines whether or not the server\u0026rsquo;s certificate chain and host name are verified. Values: true, false.\n"
},
{
"uri": "https://wtfutil.com/modules/jira/",
@@ -341,4 +341,4 @@
"tags": [],
"description": "",
"content": ""
}]
}]

10
docs/index.xml vendored
View File

@@ -328,10 +328,12 @@ Key: ↑ Action: Select the previous story in the list.</description>
<guid>https://wtfutil.com/modules/jenkins/</guid>
<description>Added in v0.0.8.
Displays jenkins status of given builds in a project or view
Source Code wtf/jenkins/ Configuration jenkins:apiKey:&amp;#34;3276d7155dd9ee27b8b14f8743a408a9&amp;#34;enabled:trueposition:top:2left:3height:2width:3refreshInterval:300url:&amp;#34;https://jenkins.domain.com/jenkins/view_url&amp;#34;user:&amp;#34;username&amp;#34;verifyServerCertificate:true Attributes apiKey Value: Your Jenkins API key.
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
position Defines where in the grid this module&amp;rsquo;s widget will be displayed.
refreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0.</description>
Source Code wtf/jenkins/ Keyboard Commands Key: [return] Action: Open the selected job in the browser.
Key: j Action: Select the next job in the list.
Key: k Action: Select the previous job in the list.
Key: r Action: Refresh the data.
Key: ↓ Action: Select the next job in the list.
Key: ↑ Action: Select the previous job in the list.</description>
</item>
<item>

View File

@@ -178,10 +178,12 @@ Key: ↑ Action: Select the previous story in the list.</description>
<guid>https://wtfutil.com/modules/jenkins/</guid>
<description>Added in v0.0.8.
Displays jenkins status of given builds in a project or view
Source Code wtf/jenkins/ Configuration jenkins:apiKey:&amp;#34;3276d7155dd9ee27b8b14f8743a408a9&amp;#34;enabled:trueposition:top:2left:3height:2width:3refreshInterval:300url:&amp;#34;https://jenkins.domain.com/jenkins/view_url&amp;#34;user:&amp;#34;username&amp;#34;verifyServerCertificate:true Attributes apiKey Value: Your Jenkins API key.
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
position Defines where in the grid this module&amp;rsquo;s widget will be displayed.
refreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0.</description>
Source Code wtf/jenkins/ Keyboard Commands Key: [return] Action: Open the selected job in the browser.
Key: j Action: Select the next job in the list.
Key: k Action: Select the previous job in the list.
Key: r Action: Refresh the data.
Key: ↓ Action: Select the next job in the list.
Key: ↑ Action: Select the previous job in the list.</description>
</item>
<item>

View File

@@ -480,6 +480,26 @@
<h2 id="source-code">Source Code</h2>
<div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash">wtf/jenkins/</code></pre></div>
<h2 id="keyboard-commands">Keyboard Commands</h2>
<p><span class="caption">Key:</span> <code>[return]</code> <br />
<span class="caption">Action:</span> Open the selected job in the browser.</p>
<p><span class="caption">Key:</span> <code>j</code> <br />
<span class="caption">Action:</span> Select the next job in the list.</p>
<p><span class="caption">Key:</span> <code>k</code> <br />
<span class="caption">Action:</span> Select the previous job in the list.</p>
<p><span class="caption">Key:</span> <code>r</code> <br />
<span class="caption">Action:</span> Refresh the data.</p>
<p><span class="caption">Key:</span> <code></code> <br />
<span class="caption">Action:</span> Select the next job in the list.</p>
<p><span class="caption">Key:</span> <code></code> <br />
<span class="caption">Action:</span> Select the previous job in the list.</p>
<h2 id="configuration">Configuration</h2>
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">jenkins<span class="p">:</span><span class="w">
</span><span class="w"> </span>apiKey<span class="p">:</span><span class="w"> </span><span class="s2">&#34;3276d7155dd9ee27b8b14f8743a408a9&#34;</span><span class="w">