[Asterisk-code-review] CI: Add timestamps and timeouts to jenkinsfiles (asterisk[13])

George Joseph asteriskteam at digium.com
Thu Oct 4 10:14:06 CDT 2018


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/10428


Change subject: CI: Add timestamps and timeouts to jenkinsfiles
......................................................................

CI: Add timestamps and timeouts to jenkinsfiles

Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f
---
M tests/CI/gates.jenkinsfile
M tests/CI/periodics-daily.jenkinsfile
M tests/CI/ref_debug.jenkinsfile
M tests/CI/unittests.jenkinsfile
4 files changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/10428/1

diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile
index 1f161d7..528a63c 100644
--- a/tests/CI/gates.jenkinsfile
+++ b/tests/CI/gates.jenkinsfile
@@ -11,6 +11,10 @@
  * you can't do that in a delcarative pipeline.
  */
 pipeline {
+	options {
+		timestamps
+		timeout(time: 60, unit: 'MINUTES')
+	}
 	triggers {
 		/*
 		 * This trigger will match either the "asterisk" or "Security-asterisk"
diff --git a/tests/CI/periodics-daily.jenkinsfile b/tests/CI/periodics-daily.jenkinsfile
index 8c97379..c6412fd 100644
--- a/tests/CI/periodics-daily.jenkinsfile
+++ b/tests/CI/periodics-daily.jenkinsfile
@@ -11,6 +11,10 @@
  * you can't do that in a delcarative pipeline.
  */
 pipeline {
+	options {
+		timestamps()
+		timeout(time: 3, unit: 'HOURS')
+	}
 	triggers {
 		cron 'H H(0-4) * * *'
 	}
diff --git a/tests/CI/ref_debug.jenkinsfile b/tests/CI/ref_debug.jenkinsfile
index 1fa8688..ff2d84f 100644
--- a/tests/CI/ref_debug.jenkinsfile
+++ b/tests/CI/ref_debug.jenkinsfile
@@ -11,6 +11,10 @@
  * you can't do that in a delcarative pipeline.
  */
 pipeline {
+	options {
+		timestamps()
+		timeout(time: 1, unit: 'DAYS')
+	}
 	triggers {
 		cron 'H H(0-4) * * 0'
 	}
diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile
index 8cf9f4a..239b32e 100644
--- a/tests/CI/unittests.jenkinsfile
+++ b/tests/CI/unittests.jenkinsfile
@@ -11,6 +11,10 @@
  * you can't do that in a delcarative pipeline.
  */
 pipeline {
+	options {
+		timestamps()
+		timeout(time: 30, unit: 'MINUTES')
+	}
 	triggers {
 		/*
 		 * This trigger will match either the "asterisk" or "Security-asterisk"

-- 
To view, visit https://gerrit.asterisk.org/10428
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f
Gerrit-Change-Number: 10428
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181004/d89f96f2/attachment-0001.html>


More information about the asterisk-code-review mailing list