Skip to content

Commit

Permalink
[Dashboards] Permissions for JOB_BASE_NAME and docker
Browse files Browse the repository at this point in the history
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
  • Loading branch information
kavilla committed Feb 28, 2022
1 parent 170d581 commit 58779b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lib = library(identifier: 'jenkins@20211123', retriever: legacySCM(scm))
pipeline {
options {
timeout(time: 3, unit: 'HOURS')
copyArtifactPermission("${JOB_NAME}")
copyArtifactPermission("${JOB_BASE_NAME}")
buildDiscarder(logRotator(artifactNumToKeepStr: '1'))
}
agent none
Expand Down
4 changes: 3 additions & 1 deletion jenkins/opensearch-dashboards/integ-test.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ pipeline {
}
stage('download-manifest') {
agent {
node {
docker {
label AGENT_LABEL
image AGENT_IMAGE
alwaysPull true
}
}
steps {
Expand Down

0 comments on commit 58779b4

Please sign in to comment.