Skip to content

Commit

Permalink
Add sleep
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Aug 23, 2024
1 parent d52e7a2 commit 3ff5398
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,7 @@ pipeline {
node(AGENT_LINUX_X64) {
checkout scm
script {
sleep 10
def rc = (params.RC_NUMBER.toInteger() > 0)
publishDistributionBuildResults(
failureMessages: buildMessage(search: 'Error building'),
Expand Down
1 change: 1 addition & 0 deletions jenkins/opensearch-dashboards/integ-test.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ pipeline {
}
retry(5) {
node(agent_nodes['linux_x64']) {
sleep(time:10,unit:"SECONDS")
def rc = (params.RC_NUMBER.toInteger() > 0)
sh "mkdir -p test-results-osd-${env.BUILD_NUMBER}"
sh "curl -sSL https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml --output test-results-osd-${env.BUILD_NUMBER}/test-report.yml"
Expand Down
1 change: 1 addition & 0 deletions jenkins/opensearch/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,7 @@ pipeline {
node(AGENT_LINUX_X64) {
checkout scm
script {
sleep 10
def rc = (params.RC_NUMBER.toInteger() > 0)
publishDistributionBuildResults(
failureMessages: buildMessage(search: 'Error building'),
Expand Down
1 change: 1 addition & 0 deletions jenkins/opensearch/integ-test.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ pipeline {
}
retry(5) {
node(agent_nodes['linux_x64']) {
sleep(time:10,unit:"SECONDS")
def rc = (params.RC_NUMBER.toInteger() > 0)
sh "mkdir -p test-results-os-${env.BUILD_NUMBER}"
sh "curl -sSL https://ci.opensearch.org/ci/dbc/integ-test/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml --output test-results-os-${env.BUILD_NUMBER}/test-report.yml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@
integ-test.archiveArtifacts({artifacts=test-report.yml})
integ-test.retry(5, groovy.lang.Closure)
integ-test.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure)
integ-test.sh(sleep 10)
integ-test.sh(mkdir -p test-results-osd-215)
integ-test.sh(curl -sSL https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/3.0.0/215/linux/x64/tar/test-results/215/integ-test/test-report.yml --output test-results-osd-215/test-report.yml)
integ-test.publishIntegTestResults({distributionBuildUrl=https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch-dashboards/detail/distribution-build-opensearch-dashboards/215/pipeline, jobName=dummy_job, testReportManifestYml=test-results-osd-215/test-report.yml})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
integ-test.archiveArtifacts({artifacts=test-report.yml})
integ-test.retry(5, groovy.lang.Closure)
integ-test.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure)
integ-test.sh(sleep 10)
integ-test.sh(mkdir -p test-results-osd-215)
integ-test.sh(curl -sSL https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/3.0.0/215/linux/x64/tar/test-results/215/integ-test/test-report.yml --output test-results-osd-215/test-report.yml)
integ-test.publishIntegTestResults({distributionBuildUrl=https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch-dashboards/detail/distribution-build-opensearch-dashboards/215/pipeline, jobName=dummy_job, testReportManifestYml=test-results-osd-215/test-report.yml})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@
integ-test.archiveArtifacts({artifacts=test-report.yml})
integ-test.retry(5, groovy.lang.Closure)
integ-test.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure)
integ-test.sh(sleep 10)
integ-test.sh(mkdir -p test-results-os-234)
integ-test.sh(curl -sSL https://ci.opensearch.org/ci/dbc/integ-test/3.0.0/9010/linux/x64/tar/test-results/234/integ-test/test-report.yml --output test-results-os-234/test-report.yml)
integ-test.publishIntegTestResults({distributionBuildUrl=https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/9010/pipeline, jobName=dummy_job, testReportManifestYml=test-results-os-234/test-report.yml})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@
integ-test.archiveArtifacts({artifacts=test-report.yml})
integ-test.retry(5, groovy.lang.Closure)
integ-test.node(Jenkins-Agent-AL2023-X64-M54xlarge-Docker-Host, groovy.lang.Closure)
integ-test.sh(sleep 10)
integ-test.sh(mkdir -p test-results-os-234)
integ-test.sh(curl -sSL https://ci.opensearch.org/ci/dbc/integ-test/3.0.0/9010/linux/x64/tar/test-results/234/integ-test/test-report.yml --output test-results-os-234/test-report.yml)
integ-test.publishIntegTestResults({distributionBuildUrl=https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/9010/pipeline, jobName=dummy_job, testReportManifestYml=test-results-os-234/test-report.yml})
Expand Down

0 comments on commit 3ff5398

Please sign in to comment.