Skip to content

Commit

Permalink
Fix build break by attaching jvm image detection to an agent node (#791)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied authored Oct 22, 2021
1 parent 7f3e41f commit 6bcdf16
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jenkins/opensearch-dashboards/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,16 @@ pipeline {
}
}
stage('detect Docker image + args to use for the build') {
agent {
docker {
label 'Jenkins-Agent-al2-x64-c54xlarge-Docker-Host'
image 'opensearchstaging/ci-runner:centos7-x64-arm64-jdk14-node10.24.1-cypress6.9.1-20211005'
alwaysPull true
}
}
steps {
script {
git url: 'https://github.com/opensearch-project/opensearch-build.git', branch: 'main'
manifest = readYaml(file: "manifests/$INPUT_MANIFEST")

dockerImage = "${manifest.ci?.image?.name}"
Expand Down
8 changes: 8 additions & 0 deletions jenkins/opensearch/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,16 @@ pipeline {
}
}
stage('detect Docker image + args to use for the build') {
agent {
docker {
label 'Jenkins-Agent-al2-x64-c54xlarge-Docker-Host'
image 'opensearchstaging/ci-runner:centos7-x64-arm64-jdk14-node10.24.1-cypress6.9.1-20211005'
alwaysPull true
}
}
steps {
script {
git url: 'https://github.com/opensearch-project/opensearch-build.git', branch: 'main'
manifest = readYaml(file: "manifests/$INPUT_MANIFEST")

dockerImage = "${manifest.ci?.image?.name}"
Expand Down

0 comments on commit 6bcdf16

Please sign in to comment.