Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Dec 6, 2023
1 parent 79fdfde commit bd2eed8
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions jenkins/opensearch/index.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ pipeline {
steps {
script {
echo('Detect Docker Images and Related Parameters')
dockerAgent = detectDockerAgent()
env.javaVersionNumber = dockerAgent.javaVersion.replaceAll('[^0-9]', '') // Only get number
currentBuild.description = INPUT_MANIFEST

echo('Verify Build Platforms')
Expand Down Expand Up @@ -129,38 +131,25 @@ pipeline {
}
agent {
docker {
label AGENT_WINDOWS_X64
image 'opensearchstaging/ci-runner:ci-runner-windows2019-servercore-opensearch-build-v1'
label AGENT_LINUX_X64
image dockerAgent.image
args dockerAgent.args
registryUrl 'https://public.ecr.aws/'
alwaysPull true
}
}
steps {
script {

echo "In build-and-test-windows-x64-zip stage"

}
}
post {
success {
script {
if (params.UPDATE_LATEST_URL) {
if (params.UPDATE_LATEST_URL) {
uploadIndexFile(
indexFilePath: "distribution-build-opensearch/2.11.0"
)
}
}
}
always {
script {
lib.jenkins.Messages.new(this).add(
"${STAGE_NAME}",
lib.jenkins.Messages.new(this).get(["${STAGE_NAME}"])
)
}

}
}

}
}
}

0 comments on commit bd2eed8

Please sign in to comment.