Skip to content
Snippets Groups Projects
Commit 58622a87 authored by George Joseph's avatar George Joseph
Browse files

CI: Add timestamps and timeouts to jenkinsfiles

Change-Id: Ide83574dc957bc1df28e30a69079140050dfc35f
parent 772d991a
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
......@@ -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) * * *'
}
......
......@@ -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'
}
......
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment