Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build break by attaching jvm image detection to an agent node #791

Merged
merged 3 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not very important, but we can probably use a minimal image for this.

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