git://wamblee.org
/
utils
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45c7392
)
fixed error in Jenkinsfile
author
Erik Brakkee
<erik@brakkee.org>
Sun, 10 Nov 2024 17:18:53 +0000
(18:18 +0100)
committer
Erik Brakkee
<erik@brakkee.org>
Sun, 10 Nov 2024 17:18:53 +0000
(18:18 +0100)
Jenkinsfile
patch
|
blob
|
history
diff --git
a/Jenkinsfile
b/Jenkinsfile
index 413811dc0625fad25c772f6040dcfecec12623fe..ac5cf5754a30c5fac0c530ce0619ff97dbda976c 100644
(file)
--- a/
Jenkinsfile
+++ b/
Jenkinsfile
@@
-4,6
+4,9
@@
String cron_string = BRANCH_NAME == "master" ? "10 3 * * *" : ""
pipeline {
agent {
kubernetes agentsetup(containers: 'java8')
+ }
+ options {
+ disableConcurrentBuilds()
buildDiscarder(logRotator(
numToKeepStr: '5', // Number of build records to keep
artifactNumToKeepStr: '3', // Number of builds for which to keep artifacts
@@
-11,9
+14,6
@@
pipeline {
artifactDaysToKeepStr: '15' // Days to keep artifacts
))
}
- options {
- disableConcurrentBuilds()
- }
triggers { cron(cron_string) }
stages {