-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding orchestrator pipeline and refactoring testsuite job (#523)
* Adding orchestrator pipeline and refactoring testsuite job Signed-off-by: Himanshu Setia <setiah@amazon.com> * Updating README Signed-off-by: Himanshu Setia <setiah@amazon.com> * Addressing PR comments Signed-off-by: Himanshu Setia <setiah@amazon.com>
- Loading branch information
Showing
3 changed files
with
73 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
bundle-workflow/jenkins_workflow/test/orchestrator/Jenkinsfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
pipeline { | ||
agent none | ||
environment { | ||
TEST_RUN_ID = "${BUILD_NUMBER}" | ||
} | ||
parameters { | ||
string(name: 'opensearch_version') | ||
string(name: 'build_id') | ||
string(name: 'architecture') | ||
} | ||
stages { | ||
stage('Execute Tests') { | ||
steps { | ||
parallel ( | ||
IntegTests: { | ||
build job: 'integ-test', | ||
parameters: [ | ||
string(name: 'opensearch_version', value: "${params.opensearch_version}"), | ||
string(name: 'build_id', value: "${params.build_id}"), | ||
string(name: 'architecture', value: "${params.architecture}"), | ||
string(name: 'test_run_id', value: "${TEST_RUN_ID}") | ||
] | ||
}, | ||
PerfTests: { | ||
build job: 'perf-test', | ||
parameters: [ | ||
string(name: 'opensearch_version', value: "${params.opensearch_version}"), | ||
string(name: 'build_id', value: "${params.build_id}"), | ||
string(name: 'architecture', value: "${params.architecture}"), | ||
string(name: 'test_run_id', value: "${TEST_RUN_ID}") | ||
] | ||
}, | ||
BwcTests: { | ||
build job: 'bwc-test', | ||
parameters: [ | ||
string(name: 'opensearch_version', value: "${params.opensearch_version}"), | ||
string(name: 'build_id', value: "${params.build_id}"), | ||
string(name: 'architecture', value: "${params.architecture}"), | ||
string(name: 'test_run_id', value: "${TEST_RUN_ID}") | ||
] | ||
}, | ||
failFast: false) | ||
} | ||
} | ||
stage('Notify') { | ||
steps { | ||
echo "This step is stubbed. Its purpose is to notify different channels for successful build" | ||
} | ||
failFast false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters