<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/10428">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">CI: Add timestamps and timeouts to jenkinsfiles<br><br>Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f<br>---<br>M tests/CI/gates.jenkinsfile<br>M tests/CI/periodics-daily.jenkinsfile<br>M tests/CI/ref_debug.jenkinsfile<br>M tests/CI/unittests.jenkinsfile<br>4 files changed, 16 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/10428/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile</span><br><span>index 1f161d7..528a63c 100644</span><br><span>--- a/tests/CI/gates.jenkinsfile</span><br><span>+++ b/tests/CI/gates.jenkinsfile</span><br><span>@@ -11,6 +11,10 @@</span><br><span> * you can't do that in a delcarative pipeline.</span><br><span> */</span><br><span> pipeline {</span><br><span style="color: hsl(120, 100%, 40%);">+ options {</span><br><span style="color: hsl(120, 100%, 40%);">+ timestamps</span><br><span style="color: hsl(120, 100%, 40%);">+ timeout(time: 60, unit: 'MINUTES')</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> triggers {</span><br><span> /*</span><br><span> * This trigger will match either the "asterisk" or "Security-asterisk"</span><br><span>diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile</span><br><span>index 8c97379..c6412fd 100644</span><br><span>--- a/tests/CI/periodics-daily.jenkinsfile</span><br><span>+++ b/tests/CI/periodics-daily.jenkinsfile</span><br><span>@@ -11,6 +11,10 @@</span><br><span> * you can't do that in a delcarative pipeline.</span><br><span> */</span><br><span> pipeline {</span><br><span style="color: hsl(120, 100%, 40%);">+ options {</span><br><span style="color: hsl(120, 100%, 40%);">+ timestamps()</span><br><span style="color: hsl(120, 100%, 40%);">+ timeout(time: 3, unit: 'HOURS')</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> triggers {</span><br><span> cron 'H H(0-4) * * *'</span><br><span> }</span><br><span>diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile</span><br><span>index 1fa8688..ff2d84f 100644</span><br><span>--- a/tests/CI/ref_debug.jenkinsfile</span><br><span>+++ b/tests/CI/ref_debug.jenkinsfile</span><br><span>@@ -11,6 +11,10 @@</span><br><span> * you can't do that in a delcarative pipeline.</span><br><span> */</span><br><span> pipeline {</span><br><span style="color: hsl(120, 100%, 40%);">+ options {</span><br><span style="color: hsl(120, 100%, 40%);">+ timestamps()</span><br><span style="color: hsl(120, 100%, 40%);">+ timeout(time: 1, unit: 'DAYS')</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> triggers {</span><br><span> cron 'H H(0-4) * * 0'</span><br><span> }</span><br><span>diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile</span><br><span>index 8cf9f4a..239b32e 100644</span><br><span>--- a/tests/CI/unittests.jenkinsfile</span><br><span>+++ b/tests/CI/unittests.jenkinsfile</span><br><span>@@ -11,6 +11,10 @@</span><br><span> * you can't do that in a delcarative pipeline.</span><br><span> */</span><br><span> pipeline {</span><br><span style="color: hsl(120, 100%, 40%);">+ options {</span><br><span style="color: hsl(120, 100%, 40%);">+ timestamps()</span><br><span style="color: hsl(120, 100%, 40%);">+ timeout(time: 30, unit: 'MINUTES')</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> triggers {</span><br><span> /*</span><br><span> * This trigger will match either the "asterisk" or "Security-asterisk"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10428">change 10428</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10428"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f </div>
<div style="display:none"> Gerrit-Change-Number: 10428 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>