Skip to content

Commit

Permalink
Update parallel
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
  • Loading branch information
zelinh committed Feb 25, 2025
1 parent 1e4439e commit 86db7a2
Showing 1 changed file with 41 additions and 10 deletions.
51 changes: 41 additions & 10 deletions jenkins/opensearch/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,14 @@ pipeline {

String bundleManifestUrl = buildManifestObj.getBundleManifestUrl(JOB_NAME, BUILD_NUMBER)

triggerIntegrationTests(buildManifestUrl, 'linux', 'rpm')
triggerSmokeTests(buildManifestUrl, 'linux', 'rpm')
parallel([
'integ-test': {
triggerIntegrationTests(buildManifestUrl, 'linux', 'rpm')
},
'smoke-test': {
triggerSmokeTests(buildManifestUrl, 'linux', 'rpm')
}
])
}
}
post {
Expand Down Expand Up @@ -459,8 +465,14 @@ pipeline {

String bundleManifestUrl = buildManifestObj.getBundleManifestUrl(JOB_NAME, BUILD_NUMBER)

triggerIntegrationTests(buildManifestUrl, 'linux', 'deb')
triggerSmokeTests(buildManifestUrl, 'linux', 'deb')
parallel([
'integ-test': {
triggerIntegrationTests(buildManifestUrl, 'linux', 'deb')
},
'smoke-test': {
triggerSmokeTests(buildManifestUrl, 'linux', 'deb')
}
])
}
}
post {
Expand Down Expand Up @@ -530,8 +542,14 @@ pipeline {
echo "buildManifestUrl (linux, arm64, tar): ${buildManifestUrl}"
echo "artifactUrl (linux, arm64, tar): ${artifactUrl}"

triggerIntegrationTests(buildManifestUrl, 'linux', 'tar')
triggerSmokeTests(buildManifestUrl, 'linux', 'tar')
parallel([
'integ-test': {
triggerIntegrationTests(buildManifestUrl, 'linux', 'tar')
},
'smoke-test': {
triggerSmokeTests(buildManifestUrl, 'linux', 'tar')
}
])
}
}
post {
Expand Down Expand Up @@ -641,8 +659,14 @@ pipeline {

String bundleManifestUrl = buildManifestObj.getBundleManifestUrl(JOB_NAME, BUILD_NUMBER)

triggerIntegrationTests(buildManifestUrl, 'linux', 'rpm')
triggerSmokeTests(buildManifestUrl, 'linux', 'rpm')
parallel([
'integ-test': {
triggerIntegrationTests(buildManifestUrl, 'linux', 'rpm')
},
'smoke-test': {
triggerSmokeTests(buildManifestUrl, 'linux', 'rpm')
}
])
}
}
post {
Expand Down Expand Up @@ -752,8 +776,15 @@ pipeline {

String bundleManifestUrl = buildManifestObj.getBundleManifestUrl(JOB_NAME, BUILD_NUMBER)

triggerIntegrationTests(buildManifestUrl, 'linux', 'deb')
triggerSmokeTests(buildManifestUrl, 'linux', 'deb')
parallel([
'integ-test': {
triggerIntegrationTests(buildManifestUrl, 'linux', 'deb')
},
'smoke-test': {
triggerSmokeTests(buildManifestUrl, 'linux', 'deb')
}
])

}
}
post {
Expand Down

0 comments on commit 86db7a2

Please sign in to comment.