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

Jenkins2 asteriskteam at digium.com
Thu Oct 4 12:50:19 CDT 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/10429 )

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(-)

Approvals:
  Sean Bright: Looks good to me, but someone else must approve
  Jenkins2: Looks good to me, approved; Approved for Submit



diff --git a/tests/CI/gates.jenkinsfile b/tests/CI/gates.jenkinsfile
index e119f3c..ad1185c 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 3f3b7ab..dcd53cd 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 d9871d3..7b48585 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 ed937f2..bdd517d 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/10429
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-MessageType: merged
Gerrit-Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f
Gerrit-Change-Number: 10429
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181004/1d0892f5/attachment.html>


More information about the asterisk-code-review mailing list