Meta Event Label and Stop a Build
<p><i>Tiffany Kyi, Software Engineer, Verizon Media</i></p>
<p>We’ve introduced new UI features in <a href="https://screwdriver.cd">Screwdriver</a> to the pipeline events page!
You can now:</p>
<ul><li>use meta to label events</li>
<li>stop a running build from the pipeline event graph</li>
</ul><p><!-- more --></p>
<p><b>Meta Event Label</b></p>
<p>You can label your events using the <code>label</code> key in <a href="https://docs.screwdriver.cd/user-guide/metadata">metadata</a>. This label can be useful when trying to identify which event to <a href="https://docs.screwdriver.cd/user-guide/FAQ.html#how-do-i-rollback">rollback</a>.</p>
<p>To label an event, set the meta <code>label</code> key in your screwdriver.yaml. It will appear on the UI after the build is complete.</p>
<p>Example screwdriver.yaml:</p>
<pre><code>jobs:
main:
steps:
- set-label: |
meta set label VERSION_3.0 # this will show up in your pipeline events page
</code></pre>
<p>Example result:</p>
<figure class="tmblr-full" data-orig-height="1208" data-orig-width="3354"><img src="https://66.media.tumblr.com/4f6f48e9033c42fea6f7b06621aca569/tumblr_inline_pppsgd6vnu1uvhog4_540.png" data-orig-height="1208" data-orig-width="3354"/></figure><p><b>Stop a Build</b></p>
<p>When a build is running or queued, you can now stop the build using the dropdown from the pipeline events graph.</p>
<figure class="tmblr-full" data-orig-height="1056" data-orig-width="1410"><img src="https://66.media.tumblr.com/47408344d6622ba1b6e750ffa454d642/tumblr_inline_pppsgm16uK1uvhog4_540.png" data-orig-height="1056" data-orig-width="1410"/></figure><h2>Compatibility List</h2>
<p>In order to use this feature, you will need these minimum versions:</p>
<ul><li><a href="https://hub.docker.com/r/screwdrivercd/screwdriver">API</a> - v0.5.639</li>
<li><a href="https://hub.docker.com/r/screwdrivercd/ui">UI</a> - v1.0.402</li>
</ul><h2>Contributors</h2>
<p>Thanks to the following contributors for making this feature possible:</p>
<ul><li><a href="https://github.com/tkyi">tkyi</a></li>
</ul><p><b>Questions & Suggestions</b>
We’d love to hear from you. If you have any questions, please feel free to reach out <a href="https://docs.screwdriver.cd/about/support">here</a>. You can also visit us on <a href="https://github.com/screwdriver-cd">Github</a> and <a href="https://slack.screwdriver.cd">Slack</a>.</p>