Skip to content

Commit 3b8419b

Browse files
[APM-CI] use current as pipeline shared library version (#425)
1 parent 90f3eac commit 3b8419b

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

Jenkinsfile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env groovy
2-
@Library('apm@v1.0.6') _
2+
@Library('apm@current') _
33

44
import co.elastic.matrix.*
55
import groovy.transform.Field
@@ -25,6 +25,8 @@ pipeline {
2525
ansiColor('xterm')
2626
disableResume()
2727
durabilityHint('PERFORMANCE_OPTIMIZED')
28+
rateLimitBuilds(throttle: [count: 60, durationName: 'hour', userBoost: true])
29+
quietPeriod(10)
2830
}
2931
triggers {
3032
issueCommentTrigger('.*(?:jenkins\\W+)?run\\W+(?:the\\W+)?tests(?:\\W+please)?.*')
@@ -132,14 +134,8 @@ pipeline {
132134
steps {
133135
deleteDir()
134136
unstash 'source'
135-
checkoutElasticDocsTools(basedir: "${ELASTIC_DOCS}")
136137
dir("${BASE_DIR}"){
137-
sh './scripts/jenkins/docs.sh'
138-
}
139-
}
140-
post{
141-
success {
142-
tar(file: "doc-files.tgz", archive: true, dir: "html", pathPrefix: "${BASE_DIR}/docs")
138+
buildDocs(docsDir: "docs", archive: true)
143139
}
144140
}
145141
}

scripts/jenkins/docs.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)