aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-04-04 10:27:28 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-04-04 10:27:28 +0200
commitfbef3980175c8ed76869dcb2d09e701dc9905cdb (patch)
treee0508bf57ae8547f2ab11a566f8e6c182f24593b
parentaf138746849740ed5990a38ba3885a6d53e12785 (diff)
downloadjenkinsfiles-fbef3980175c8ed76869dcb2d09e701dc9905cdb.tar.gz
add options
-rw-r--r--jenkinsfile.firmware.repo5
-rw-r--r--jenkinsfile.kernel.candidate5
-rw-r--r--jenkinsfile.kernel.lts4045
-rw-r--r--jenkinsfile.kernel.lts4145
-rw-r--r--jenkinsfile.kernel.mainline5
-rw-r--r--jenkinsfile.kernel.repo5
-rw-r--r--jenkinsfile.kernel.sync5
7 files changed, 35 insertions, 0 deletions
diff --git a/jenkinsfile.firmware.repo b/jenkinsfile.firmware.repo
index 72cd7ba..214a6c5 100644
--- a/jenkinsfile.firmware.repo
+++ b/jenkinsfile.firmware.repo
@@ -28,6 +28,11 @@ pipeline {
node 'sys-rhel7-x64'
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '3'))
+ disableConcurrentBuilds()
+ }
+
triggers {
upstream(upstreamProjects: 'seabios,u-boot',
threshold: hudson.model.Result.SUCCESS)
diff --git a/jenkinsfile.kernel.candidate b/jenkinsfile.kernel.candidate
index 0c5d926..bcd0348 100644
--- a/jenkinsfile.kernel.candidate
+++ b/jenkinsfile.kernel.candidate
@@ -48,6 +48,11 @@ pipeline {
node 'sys-rhel7-x64'
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '3'))
+ disableConcurrentBuilds()
+ }
+
triggers {
pollSCM('H * * * *')
}
diff --git a/jenkinsfile.kernel.lts404 b/jenkinsfile.kernel.lts404
index ab034ec..12e3b2e 100644
--- a/jenkinsfile.kernel.lts404
+++ b/jenkinsfile.kernel.lts404
@@ -48,6 +48,11 @@ pipeline {
node 'sys-rhel7-x64'
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '3'))
+ disableConcurrentBuilds()
+ }
+
triggers {
pollSCM('H * * * *')
}
diff --git a/jenkinsfile.kernel.lts414 b/jenkinsfile.kernel.lts414
index 09a5d83..b649794 100644
--- a/jenkinsfile.kernel.lts414
+++ b/jenkinsfile.kernel.lts414
@@ -48,6 +48,11 @@ pipeline {
node 'sys-rhel7-x64'
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '3'))
+ disableConcurrentBuilds()
+ }
+
triggers {
pollSCM('H * * * *')
}
diff --git a/jenkinsfile.kernel.mainline b/jenkinsfile.kernel.mainline
index a29eeca..1f0ab52 100644
--- a/jenkinsfile.kernel.mainline
+++ b/jenkinsfile.kernel.mainline
@@ -48,6 +48,11 @@ pipeline {
node 'sys-rhel7-x64'
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '3'))
+ disableConcurrentBuilds()
+ }
+
triggers {
pollSCM('H * * * *')
}
diff --git a/jenkinsfile.kernel.repo b/jenkinsfile.kernel.repo
index 7fe7166..510eec3 100644
--- a/jenkinsfile.kernel.repo
+++ b/jenkinsfile.kernel.repo
@@ -19,6 +19,11 @@ pipeline {
node 'sys-rhel7-x64'
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '3'))
+ disableConcurrentBuilds()
+ }
+
triggers {
upstream(upstreamProjects: 'kernel-lts-404,kernel-lts-414,kernel-mainline,kernel-candidate',
threshold: hudson.model.Result.SUCCESS)
diff --git a/jenkinsfile.kernel.sync b/jenkinsfile.kernel.sync
index a6d4499..4301633 100644
--- a/jenkinsfile.kernel.sync
+++ b/jenkinsfile.kernel.sync
@@ -8,6 +8,11 @@ def base = "bigendian.kraxel.org:/public/vhosts/www.kraxel.org/repos"
pipeline {
agent any
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '3'))
+ disableConcurrentBuilds()
+ }
+
triggers {
upstream(upstreamProjects: 'kernel-repo',
threshold: hudson.model.Result.SUCCESS)